added @memberOf to get outline

This commit is contained in:
Ralf Becker 2013-04-20 09:51:52 +00:00
parent fa091d879c
commit a14ede7587

View File

@ -199,6 +199,11 @@ var et2_dialog = et2_widget.extend({
// Define this as null to avoid breaking any hierarchies (eg: destroy()) // Define this as null to avoid breaking any hierarchies (eg: destroy())
_parent: null, _parent: null,
/**
* Constructor
*
* @memberOf et2_dialog
*/
init: function() { init: function() {
// Call the inherited constructor // Call the inherited constructor
this._super.apply(this, arguments); this._super.apply(this, arguments);
@ -212,7 +217,7 @@ var et2_dialog = et2_widget.extend({
this._buttons[i][j].click = (function(id) { this._buttons[i][j].click = (function(id) {
return function(event) { return function(event) {
self.click(event.target,id); self.click(event.target,id);
} };
})(this._buttons[i][j].button_id); })(this._buttons[i][j].button_id);
} }
} }
@ -239,7 +244,7 @@ var et2_dialog = et2_widget.extend({
this.div = null; this.div = null;
// Call the inherited constructor // Call the inherited constructor
this._super.apply(this, arguments) this._super.apply(this, arguments);
}, },
/** /**
@ -393,7 +398,7 @@ var et2_dialog = et2_widget.extend({
// Focus default button so enter works // Focus default button so enter works
$j(this).parents('.ui-dialog-buttonpane button[default]').focus(); $j(this).parents('.ui-dialog-buttonpane button[default]').focus();
}, },
close: jQuery.proxy(function() {this.destroy()},this) close: jQuery.proxy(function() {this.destroy();},this)
}); });
} }
}); });