From f842c0ce02170893615b7abefb6e84f64cb8d8f2 Mon Sep 17 00:00:00 2001 From: Gaetan Delannay Date: Fri, 13 Feb 2015 17:29:51 +0100 Subject: [PATCH] [gen] Replaced old-style JS calls to 'askAjaxChunk' to calls to 'askAjax'. --- fields/__init__.py | 5 +- fields/pod.py | 4 +- fields/ref.py | 76 ++++++++++------------ fields/search.py | 29 ++++++--- gen/mixins/__init__.py | 10 ++- gen/ui/appy.js | 126 ++++++++++++++++-------------------- gen/wrappers/ToolWrapper.py | 28 ++++---- gen/wrappers/__init__.py | 17 +++-- 8 files changed, 141 insertions(+), 154 deletions(-) diff --git a/fields/__init__.py b/fields/__init__.py index 48abca7..e6914a8 100644 --- a/fields/__init__.py +++ b/fields/__init__.py @@ -114,8 +114,7 @@ class Field: - :field.pxRender ''') @@ -173,7 +172,7 @@ class Field: - :field.pxRender ''') diff --git a/fields/pod.py b/fields/pod.py index 27cdb11..8949de2 100644 --- a/fields/pod.py +++ b/fields/pod.py @@ -92,10 +92,10 @@ class Pod(Field): onmouseout=":'toggleDropdown(%s,%s)' % (q(dropdownId), q('none'))"> :field.pxIcon - + - + width="200px">:self.pxNavigate @@ -303,18 +303,17 @@ class AbstractWrapper(object): # This PX displays an object's history pxHistory = Px(''' -
- + batchNumber=len(objs)" + id=":ajaxHookId"> + :tool.pxNavigate