[Testbot] Plone 4.3 - Python 2.6 - Build # 2129 - Still failing! - 42 failure(s)

jenkins at plone.org jenkins at plone.org
Fri Jun 6 22:23:32 UTC 2014


-------------------------------------------------------------------------------
Plone 4.3 - Python 2.6 - Build # 2129 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-4.3-python-2.6/2129/


-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------

Repository: Products.CMFPlone
Branch: refs/heads/4.3.x
Date: 2014-06-06T15:01:47-07:00
Author: Ross Patterson (rpatterson) <me at rpatterson.net>
Commit: https://github.com/plone/Products.CMFPlone/commit/ed3360670a542174d4e3b86880c0eebb82ae395c

Abstract the search form and livesearch action URLs

making it easier to extend the search portlet with custom views or other
actions.

Files changed:
M Products/CMFPlone/skins/plone_ecmascript/livesearch.js
M docs/CHANGES.rst

diff --git a/Products/CMFPlone/skins/plone_ecmascript/livesearch.js b/Products/CMFPlone/skins/plone_ecmascript/livesearch.js
index 779eb24..e8d5fd3 100644
--- a/Products/CMFPlone/skins/plone_ecmascript/livesearch.js
+++ b/Products/CMFPlone/skins/plone_ecmascript/livesearch.js
@@ -29,8 +29,10 @@ var livesearch = (function () {
         var $lastsearch = null,
             $request = null,
             $cache = {},
-            $querytarget = $form.attr('action').replace(/@@search$/g,"") + "livesearch_reply",
             $result = $form.find('div.LSResult'),
+            $querytarget = $form.attr('action').replace(
+                $form.data('action') || '@@search',
+                $result.data('livesearch') || 'livesearch_reply'),
             $shadow = $form.find('div.LSShadow'),
             $path = $form.find('input[name="path"]');
 
diff --git a/docs/CHANGES.rst b/docs/CHANGES.rst
index 60142ff..fe9a1db 100644
--- a/docs/CHANGES.rst
+++ b/docs/CHANGES.rst
@@ -8,6 +8,10 @@ Changelog
 4.3.4 (unreleased)
 ------------------
 
+- Abstract the search form and livesearch action URLs making it easier to
+  extend the search portlet with custom views or other actions.
+  [rpatterson]
+
 - Improve event_view - do not show time when user specifies the same start and 
   end time for an event.
   [spereverde]




-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 1801 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140606/9e665415/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 561645 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140606/9e665415/attachment-0003.obj>


More information about the Testbot mailing list