xlawrence 2005/08/05 17:40:30 CEST
Modified files:
src/view/jsp actions.js
Log:
Change the browser cursor to "wait" during the AJAX remote call...
Revision Changes Path
1.4 +2 -0 corporate_portal_templates/src/view/jsp/actions.js
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/src/view/jsp/actions.js.diff?r1=1.3&r2=1.4&f=h
Index: actions.js
===================================================================
RCS file:
/home/cvs/repository/corporate_portal_templates/src/view/jsp/actions.js,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- actions.js 5 Aug 2005 14:01:26 -0000 1.3
+++ actions.js 5 Aug 2005 15:40:29 -0000 1.4
@@ -498,6 +498,7 @@
// AJAX based function to get all Actions to fill up the Action menu
function getActionMenu (context, objectType, objectKey, definitionID,
parentID, pageID) {
+ document.body.style.cursor = "wait";
try {
// correct values are "POST" or "GET" (HTTP methods).
var method = "POST" ;
@@ -577,6 +578,7 @@
alert ("There was a problem processing the request.
Status: " +
req.status + ", msg: " +
req.statusText);
}
+ document.body.style.cursor = "default";
}
}