Mercurial > defr > drupal > popups
diff patches/5-ie7-compatibility.patch @ 2:c076d54409cb
Popus: Version RF
author | Franck Deroche <franck@defr.org> |
---|---|
date | Fri, 31 Dec 2010 13:46:12 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/5-ie7-compatibility.patch Fri Dec 31 13:46:12 2010 +0100 @@ -0,0 +1,14 @@ +Index: popups.js +=================================================================== +--- popups.js (révision 555) ++++ popups.js (copie de travail) +@@ -604,7 +604,8 @@ + if (popup) { + // console.log('removing '+popup.id); + popup.$popup().remove(); +- Popups.popupStack.splice(Popups.popupStack.indexOf(popup), 1); // Remove popup from stack. Probably should rework into .pop() ++// Popups.popupStack.splice(Popups.popupStack.indexOf(popup), 1); // Remove popup from stack. Probably should rework into .pop() ++ Popups.popupStack.pop(); + } + // else { + // console.log("Popups.removePopup - there is no popup to remove.");