[Jifty-commit] jifty branch, master, updated. 966ead59b6253bf424ed451c76d3b93df288e882
Jifty commits
jifty-commit at lists.jifty.org
Thu Jun 24 13:58:00 EDT 2010
The branch, master has been updated
via 966ead59b6253bf424ed451c76d3b93df288e882 (commit)
from da2d11db797c118bc117329aaad9639a43aafea1 (commit)
Summary of changes:
share/web/static/js/jifty.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 966ead59b6253bf424ed451c76d3b93df288e882
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Jun 24 13:59:13 2010 -0400
Look up the action every request; otherwise, we may cache the parameters from a previous submit
diff --git a/share/web/static/js/jifty.js b/share/web/static/js/jifty.js
index 2cfd26c..fbc4431 100644
--- a/share/web/static/js/jifty.js
+++ b/share/web/static/js/jifty.js
@@ -1748,7 +1748,6 @@ function show_action_result() {
Jifty.addAutocompleter = function (id) {
var field = Jifty.$(id);
- var action = Jifty.Form.Element.getAction(field);
// if there's a raw :, jQuery interprets the id as a css selector
var selector = '#' + id.replace(/:/g, '\\\:');
@@ -1796,6 +1795,7 @@ Jifty.addAutocompleter = function (id) {
return results;
},
extraParams: function () {
+ var action = Jifty.Form.Element.getAction(field);
var actions = {
autocomplete: {
'moniker': 'autocomplete',
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list