mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Merge remote-tracking branch 'origin/support/2.7' into develop
# Conflicts: # core/dbobject.class.php # core/log.class.inc.php # setup/compiler.class.inc.php
This commit is contained in:
@@ -151,9 +151,16 @@ $(function()
|
||||
// Intended for overloading in derived classes
|
||||
_onUpdateSuccess: function(oData, sFormPath)
|
||||
{
|
||||
var me = this;
|
||||
if(oData.form.hidden_fields !== undefined)
|
||||
{
|
||||
$.each(oData.form.hidden_fields, function( index, value ) {
|
||||
me.element.find('[data-form-path="' + sFormPath + '"][data-field-id="'+value+'"][data-attribute-flag-hidden="false"]').children().remove();
|
||||
});
|
||||
}
|
||||
if(oData.form.updated_fields !== undefined)
|
||||
{
|
||||
this.element.find('[data-form-path="' + sFormPath + '"]').trigger('update_form', {updated_fields: oData.form.updated_fields});
|
||||
me.element.find('[data-form-path="' + sFormPath + '"]').trigger('update_form', {updated_fields: oData.form.updated_fields});
|
||||
}
|
||||
},
|
||||
// Intended for overloading in derived classes
|
||||
|
||||
Reference in New Issue
Block a user