fixed less prefixer path

fixed modals
This commit is contained in:
Keivan Beigi 2013-06-26 16:45:05 -07:00
parent 0a2ac32dfc
commit 28de886bb1
8 changed files with 12 additions and 17 deletions

View file

@ -1,9 +1,10 @@
'use strict';
define(
[
'$',
'marionette',
'bootstrap'
], function (Marionette) {
], function ($, Marionette) {
return Marionette.Region.extend({
el: '#modal-region',
@ -30,14 +31,9 @@ define(
'backdrop': 'static'});
},
onClose: function(){
this.closeModal();
},
closeModal: function () {
this.$el.modal('hide');
$(this.el).modal('hide');
this.reset();
}
});