mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 00:02:17 +02:00
N.546: Portal: Edit value in case log was kept after UserRequest update.
SVN:trunk[4500]
This commit is contained in:
@@ -135,6 +135,16 @@ $(function()
|
||||
// If everything is okay, we close the form and reload it.
|
||||
if(oValidation.valid)
|
||||
{
|
||||
// Resetting textarea fields (delay is necessary has we have to wait for the form to be built.
|
||||
setTimeout(function(){
|
||||
me.options.field_set.find('.portal_form_field_html').each(function(iIndex, oElem){
|
||||
if($(oElem).find('.cke').length > 0)
|
||||
{
|
||||
$(oElem).triggerHandler('set_current_value', '');
|
||||
}
|
||||
});
|
||||
}, 200);
|
||||
|
||||
if(me.options.is_modal)
|
||||
{
|
||||
me.element.closest('.modal').modal('hide');
|
||||
|
||||
Reference in New Issue
Block a user