From: Heiko Stuebner <heiko [email protected]>
---
source/class/hjx/Hijax.js | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/source/class/hjx/Hijax.js b/source/class/hjx/Hijax.js
index 6d07952..4765da9 100644
--- a/source/class/hjx/Hijax.js
+++ b/source/class/hjx/Hijax.js
@@ -86,8 +86,15 @@ qx.Class.define("hjx.Hijax",
}
}
- // Hijack the initial page
- this._hijackLinksAndForms();
+ // Hijack the initial page, or parts of it
+ if (this._settings._capture) {
+ var elems = qx.bom.Selector.query(this._settings._capture.join(","));
+ for (var i = 0; i < elems.length; i++) {
+ this._hijackLinksAndForms(elems[i]);
+ }
+ }
+ else
+ this._hijackLinksAndForms();
// Handle bookmarks
var state = this._hijaxHistory.getState();
--
1.6.3.3
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel