mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-24 04:13:47 +01:00
set styles
This commit is contained in:
parent
2f82ce6d54
commit
02b6ea66dd
@ -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