Send response as second param into callback for long_task dialog

This commit is contained in:
Hadi Nategh 2015-08-11 16:23:34 +00:00
parent 80b2e2b244
commit 8d7fc2000b

View File

@ -736,7 +736,7 @@ jQuery.extend(et2_dialog,
$j("button[button_id="+et2_dialog.OK_BUTTON+"]", dialog.div.parent()).button("enable");
if (!cancel && typeof _callback == "function")
{
_callback.call(dialog, true);
_callback.call(dialog, true, response);
}
}
};