set styles

This commit is contained in:
Mariela Michalek 2014-04-18 17:54:24 -03:00
parent 98e798bfce
commit 66e769cab0
3 changed files with 6 additions and 0 deletions

View File

@ -81,6 +81,10 @@ var BootstrapDialog = new Class({
this._native.find('.modal-body').append(content);
},
setStyle:function(width){
this._native.find('.modal-dialog').css("width",width);
},
close: function() {
this._native.modal('hide');
},

View File

@ -27,6 +27,7 @@ mindplot.widget.LinkEditor = new Class({
acceptButton: true,
removeButton: true
});
this.setStyle("500px");
this._model = model;
var panel = this._buildPanel(model);
this.setContent(panel);

View File

@ -9,6 +9,7 @@ mindplot.widget.NoteEditor = new Class({
acceptButton: true,
removeButton: true
});
this.setStyle("500px");
this._model = model;
var panel = this._buildPanel(model);
this.setContent(panel);