Author: bdelacretaz
Date: Fri Jun 20 08:36:26 2008
New Revision: 669935
URL: http://svn.apache.org/viewvc?rev=669935&view=rev
Log:
SLING-551, fix delete operation name and sling.js
Modified:
incubator/sling/trunk/servlets/post/src/main/resources/system/sling.js
Modified: incubator/sling/trunk/servlets/post/src/main/resources/system/sling.js
URL:
http://svn.apache.org/viewvc/incubator/sling/trunk/servlets/post/src/main/resources/system/sling.js?rev=669935&r1=669934&r2=669935&view=diff
==============================================================================
--- incubator/sling/trunk/servlets/post/src/main/resources/system/sling.js
(original)
+++ incubator/sling/trunk/servlets/post/src/main/resources/system/sling.js Fri
Jun 20 08:36:26 2008
@@ -177,7 +177,7 @@
Sling.removeContent = function(path) {
var httpcon = Sling.getXHR();
if (httpcon) {
- var params = ":delete="+path;
+ var params = ":operation=delete";
httpcon.open('POST', Sling.baseurl + path, false);
// Send the proper header information along with the
request