Author: sdumitriu
Date: 2007-12-20 12:51:45 +0100 (Thu, 20 Dec 2007)
New Revision: 6437
Modified:
xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/skins/albatross/usersandgroups.js
xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/usersandgroups.js
Log:
XWIKI-1963: Various bugs in the new Rights Management UI
- Fixed a bug introduced by me, which caused the right saving to not work after
a failed response.
- Added a notice (alert) when the right could not be saved.
Modified:
xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/skins/albatross/usersandgroups.js
===================================================================
---
xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/skins/albatross/usersandgroups.js
2007-12-20 11:38:09 UTC (rev 6436)
+++
xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/skins/albatross/usersandgroups.js
2007-12-20 11:51:45 UTC (rev 6437)
@@ -544,6 +544,11 @@
method: 'get',
onSuccess: function() {
self.next();
+ },
+ onFailure: function() {
+ alert("$msg.get('xwiki.core.rightsManagement.ajaxFailure')");
+ },
+ onComplete: function() {
delete self.req;
}
});
Modified:
xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/usersandgroups.js
===================================================================
---
xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/usersandgroups.js
2007-12-20 11:38:09 UTC (rev 6436)
+++
xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/usersandgroups.js
2007-12-20 11:51:45 UTC (rev 6437)
@@ -544,6 +544,11 @@
method: 'get',
onSuccess: function() {
self.next();
+ },
+ onFailure: function() {
+ alert("$msg.get('xwiki.core.rightsManagement.ajaxFailure')");
+ },
+ onComplete: function() {
delete self.req;
}
});
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications