mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
Internal: Remove unused function in portal form handler
This commit is contained in:
@@ -1,3 +1,21 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2013-2019 Combodo SARL
|
||||||
|
*
|
||||||
|
* This file is part of iTop.
|
||||||
|
*
|
||||||
|
* iTop is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* iTop is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
*/
|
||||||
|
|
||||||
//iTop Portal Form handler
|
//iTop Portal Form handler
|
||||||
//This extends itop.form_handler
|
//This extends itop.form_handler
|
||||||
;
|
;
|
||||||
@@ -301,14 +319,6 @@ $(function()
|
|||||||
this.element.find('.form_fields').trigger('validate', {touched_fields_only: true});
|
this.element.find('.form_fields').trigger('validate', {touched_fields_only: true});
|
||||||
this._enableFormAfterLoading();
|
this._enableFormAfterLoading();
|
||||||
},
|
},
|
||||||
_onFieldChange: function(oEvent, oData)
|
|
||||||
{
|
|
||||||
// Clear form help blocks
|
|
||||||
this.element.find('.form_alerts').removeClass('has-success has-warning has-error');
|
|
||||||
this.element.find('.form_alerts .alert').html('').hide();
|
|
||||||
|
|
||||||
this._super(oEvent, oData);
|
|
||||||
},
|
|
||||||
// Place a field for which no container exists
|
// Place a field for which no container exists
|
||||||
_addField: function(sFieldId)
|
_addField: function(sFieldId)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user