[Testbot] Plone 5.0 - Python 2.7 - Build # 1441 - Still failing! - 1 failure(s)

jenkins at plone.org jenkins at plone.org
Tue Feb 11 16:41:45 UTC 2014


-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 1441 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-5.0-python-2.7/1441/


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

Repository: plone.schemaeditor
Branch: refs/heads/master
Date: 2014-02-11T07:52:44-08:00
Author: David Glick (davisagli) <david at glicksoftware.com>
Commit: https://github.com/plone/plone.schemaeditor/commit/5d46593823b409dd1c8d1e8421982cff17f78dd7

don't depend on popupforms.js

Files changed:
M plone/schemaeditor/browser/schema/schemaeditor.js

diff --git a/plone/schemaeditor/browser/schema/schemaeditor.js b/plone/schemaeditor/browser/schema/schemaeditor.js
index b5b240b..d19b1fd 100644
--- a/plone/schemaeditor/browser/schema/schemaeditor.js
+++ b/plone/schemaeditor/browser/schema/schemaeditor.js
@@ -161,8 +161,14 @@
             filter: common_content_filter,
             closeselector: 'input[name="form.buttons.cancel"]',
             formselector: '#form.kssattr-formname-edit',
-            noform: function (el) {
-                return $.plonepopups.noformerrorshow(el, 'reload');
+            noform: function(el) {
+                var o = $(el), emsg = o.find('dl.portalMessage.error');
+                if (emsg.length) {
+                    o.children().replaceWith(emsg);
+                    return false;
+                } else {
+                    return 'redirect';
+                }
             }
         });
         // add new field to form




-------------------------------------------------------------------------------


More information about the Testbot mailing list