feature #3748: Remove show and hide from form-panel

This commit is contained in:
Daniel Molina committed 2015-05-28 17:52:51 +02:00
1 parent 977e32fbe8
commit 7ff8a4fcca
1 file changed
-13
@@ -11,8 +11,6 @@ define(function(require) {
BaseFormPanel.prototype = {
'insert': _insert,
'show': _show,
'hide': _hide,
'reset': _reset,
'setAction': _setAction
}
@@ -62,17 +60,6 @@ define(function(require) {
that.setup(context);
}
function _show() {
var dialogElement = $('#' + this.dialogId);
dialogElement.foundation('reveal', 'open');
return false;
}
function _hide() {
var dialogElement = $('#' + this.dialogId);
dialogElement.foundation('reveal', 'close')
}
function _reset(context) {
$('#' + this.formPanelId + "Wizard").remove();
if (this.htmlAdvanced) {