// The initial overflow setting
initialoverflow : '',
+ bodycontent : null,
+ headercontent : null,
+ instanceconfig : null,
+
setup_chooser_dialogue : function(bodycontent, headercontent, config) {
+ this.bodycontent = bodycontent;
+ this.headercontent = headercontent;
+ this.instanceconfig = config;
+ },
+
+ prepare_chooser : function () {
+ if (this.overlay) {
+ return;
+ }
+
// Set Default options
var params = {
- bodyContent : bodycontent.get('innerHTML'),
- headerContent : headercontent.get('innerHTML'),
+ bodyContent : this.bodycontent.get('innerHTML'),
+ headerContent : this.headercontent.get('innerHTML'),
draggable : true,
- visible : false, // Hide by default
- zindex : 100, // Display in front of other items
- lightbox : true, // This dialogue should be modal
- shim : true
+ visible : false, // Hide by default.
+ zindex : 100, // Display in front of other items.
+ lightbox : true // This dialogue should be modal.
}
// Override with additional options