Details
-
Type:
Bug Fix
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Development
-
Security Level: Public (Public: Anyone can view)
-
Labels:None
-
Rice Module:KRAD
-
KAI Review Status:Not Required
-
KTI Review Status:Not Required
Description
When you have two quickfinders on the same view, and one has different configuration than the other (for example, assume the second one sends in readOnlyfields), the settings are not cleared after each one is invoked.
If you click the first quickfinder which has readOnlyFields set, then close and click the second one which does not, the readOnlyFields are still sent. I thought this might be because the action parameters are not getting cleared out between the lightbox invocations. However I tried clearing them (by clearing the formcomplete div) and that didn't fix the problem.
Here is the code I tried to clear the action parameters:
jq("#kualiForm").ajaxSubmit({
success: function(data) {
// Add the returned URL to the FancyBox href setting
options['href'] = data;
// clear out hiddens
jq("#formComplete").html("");
// Open the light box
{ jq.fancybox(options); }if (top == self)
else
{ parent.$.fancybox(options); }}
});