set styles
parent
98e798bfce
commit
66e769cab0
|
@ -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');
|
||||
},
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue