| Download | Size | md5 hash |
|---|---|---|
| popups-6.x-2.0-alpha5.tar.gz | 55.15 KB | 1058e91ad39a068515219d40e3b8c6bd |
| popups-6.x-2.0-alpha5.zip | 61.49 KB | 4d9f411403c6a18bdf6473d0fbaa05c1 |
Extensive refactoring.
Lots of new features, not all of them tested yet.
6.x--2-0-ALPHA5
Features
* New options and options system.
** Added updateMethod, updateSource, onUpdate, doneTest, skipDirtyCheck, and hijackDestination.
** Removed noUpdate, reloadOnUpdate, forceReturn, nonModal and afterSubmit.
** Default options are declared in popups.js
** Options in on-popups-option attribute now override default and hook options, instead of replacing them.
* Popups.addedJS => Keeping track of JIT loaded JS files, so they are not reloaded.
Bug Fixes
* Fixed tests #7 & #8.
* Fixing :input highlight in basic.css.
* http://drupal.org/node/406326 (sirkitree) - fixing facebook skin resize.
Other
* Broke out Popups.clickPopupElement from Popups.attach
* Broke out Popups.activeLayerIsEdited from Popups.attach
* Broke out Popups.Popup.prototype.fill from Popups.open
* Popups.openContent -> Popups.openContentPath
* New properties added to Popups.Popup object.
* Abstracted Popups.activeLayerIsEdited.
* Abstracted Popups.offerToSave.
* Popups.formSuccess(popup, json) - parameters changed.
* SavePage function changed to saveFormOnLayer.
Todo
* Improve Popups.activeLayerIsEdited
* Recapture the focus on popup if user tabs away.