Mercurial > defr > drupal > popups
comparison 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 |
comparison
equal
deleted
inserted
replaced
0:76f9b43738f2 | 2:c076d54409cb |
---|---|
1 Index: popups.js | |
2 =================================================================== | |
3 --- popups.js (révision 555) | |
4 +++ popups.js (copie de travail) | |
5 @@ -604,7 +604,8 @@ | |
6 if (popup) { | |
7 // console.log('removing '+popup.id); | |
8 popup.$popup().remove(); | |
9 - Popups.popupStack.splice(Popups.popupStack.indexOf(popup), 1); // Remove popup from stack. Probably should rework into .pop() | |
10 +// Popups.popupStack.splice(Popups.popupStack.indexOf(popup), 1); // Remove popup from stack. Probably should rework into .pop() | |
11 + Popups.popupStack.pop(); | |
12 } | |
13 // else { | |
14 // console.log("Popups.removePopup - there is no popup to remove."); |