|
[
Permlink
| « Hide
]
Rich Feit added a comment - 22/Apr/05 03:42 PM
Because this one's harmless, I'm pushing it to the next release.
Rich, here's a patch to help address this bug. My changes for this patch will make
sure the popup support functions are only written once. I did this by managing a unique (by scope) open popup window in an associated array of windows rather than writing out the same functions to handle and open the popup windows. The popup support function to open the NetUI popup window now takes a string as the name to identify the window in the associated array. This means a button onClick will call the same generated function but pass an additional string for the scoped popup window. For example,... onClick=Netui_Popup_portletB(url,...,false) is now generated as... onClick=Netui_Popup(url,...,false,'Netui_Window_portletB') Note that for multiple popups on the same page there will still be multiple instances of an initialization for the window to null in the associated array. The various popup tests have been update and are part of this patch. Verified with rev351894. There is no duplicate funstion scripts anymore. The instances of initialization still shows up as our limitation. So, we close this issue for now.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||