2013-03-04 00:09:43 +00:00
|
|
|
|
'use strict';
|
|
|
|
|
|
2013-06-19 01:02:23 +00:00
|
|
|
|
define(['marionette', 'Mixins/AsModelBoundview', 'bootstrap'], function (Marionette, AsModelBoundView) {
|
2013-03-04 00:09:43 +00:00
|
|
|
|
|
2013-06-19 01:02:23 +00:00
|
|
|
|
var view = Marionette.ItemView.extend({
|
2013-03-29 23:28:58 +00:00
|
|
|
|
template : 'Settings/Misc/MiscTemplate',
|
2013-03-18 15:25:36 +00:00
|
|
|
|
className: 'form-horizontal',
|
|
|
|
|
|
|
|
|
|
ui: {
|
|
|
|
|
tooltip: '[class^="help-inline"] i'
|
|
|
|
|
},
|
2013-03-04 00:09:43 +00:00
|
|
|
|
|
|
|
|
|
onRender: function () {
|
2013-03-18 15:25:36 +00:00
|
|
|
|
this.ui.tooltip.tooltip({ placement: 'right', html: true });
|
2013-03-04 00:09:43 +00:00
|
|
|
|
}
|
|
|
|
|
});
|
2013-06-19 01:02:23 +00:00
|
|
|
|
|
|
|
|
|
return AsModelBoundView.call(view);
|
2013-03-04 00:09:43 +00:00
|
|
|
|
});
|