mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-26 07:44:56 +01: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);
|
this._native.find('.modal-body').append(content);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
setStyle:function(width){
|
||||||
|
this._native.find('.modal-dialog').css("width",width);
|
||||||
|
},
|
||||||
|
|
||||||
close: function() {
|
close: function() {
|
||||||
this._native.modal('hide');
|
this._native.modal('hide');
|
||||||
},
|
},
|
||||||
|
@ -27,6 +27,7 @@ mindplot.widget.LinkEditor = new Class({
|
|||||||
acceptButton: true,
|
acceptButton: true,
|
||||||
removeButton: true
|
removeButton: true
|
||||||
});
|
});
|
||||||
|
this.setStyle("500px");
|
||||||
this._model = model;
|
this._model = model;
|
||||||
var panel = this._buildPanel(model);
|
var panel = this._buildPanel(model);
|
||||||
this.setContent(panel);
|
this.setContent(panel);
|
||||||
|
@ -9,6 +9,7 @@ mindplot.widget.NoteEditor = new Class({
|
|||||||
acceptButton: true,
|
acceptButton: true,
|
||||||
removeButton: true
|
removeButton: true
|
||||||
});
|
});
|
||||||
|
this.setStyle("500px");
|
||||||
this._model = model;
|
this._model = model;
|
||||||
var panel = this._buildPanel(model);
|
var panel = this._buildPanel(model);
|
||||||
this.setContent(panel);
|
this.setContent(panel);
|
||||||
|
Loading…
Reference in New Issue
Block a user