mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-09-12 07:10:07 +02:00
set styles
This commit is contained in:
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
Block a user