- Timestamp:
- 09.11.2011 22:13:38 (6 months ago)
- File:
-
- 1 edited
-
ZMS/trunk/dtml/object/manage_menu.dtml (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ZMS/trunk/dtml/object/manage_menu.dtml
r1673 r1721 70 70 * Process response. 71 71 */ 72 function processResponse(data) 73 { 72 function processResponse(data) { 74 73 // Reset wait-cursor. 75 74 $(document.body).css( "cursor", "auto"); … … 120 119 img.onmouseover=Function("divmouseover(this)"); 121 120 var a = document.createElement( "a"); 122 $(a).attr( {href: page_absolute_url+"/manage_main?lang="+getZMILang() , onclick: "return followHref(this.href)"});121 $(a).attr( {href: page_absolute_url+"/manage_main?lang="+getZMILang()}).click(function() {return followHref(this.href)}); 123 122 $(a).addClass( "zmi"); 124 123 a.appendChild( img); … … 135 134 if ( (page.getAttribute("permissions")+',').indexOf('<dtml-var "getZMILangStr('ROLE_ZMSADMINISTRATOR')">,')>=0) { 136 135 var a = document.createElement( "a"); 137 $(a).attr( {href: page_absolute_url+"/manage_customize?lang="+getZMILang() , onclick: "return followHref(this.href)"});136 $(a).attr( {href: page_absolute_url+"/manage_customize?lang="+getZMILang()}).click(function() {return followHref(this.href)}); 138 137 var img = document.createElement( "img"); 139 138 $(img) … … 146 145 if ( (page.getAttribute("permissions")+',').indexOf('<dtml-var "getZMILangStr('ROLE_ZMSUSERADMINISTRATOR')">,')>=0) { 147 146 var a = document.createElement( "a"); 148 $(a).attr( {href: page_absolute_url+"/manage_users?lang="+getZMILang() , onclick: "return followHref(this.ref)"});147 $(a).attr( {href: page_absolute_url+"/manage_users?lang="+getZMILang()}).click(function() {return followHref(this.href)});; 149 148 var img = document.createElement( "img"); 150 149 $(img) … … 213 212 * Process response. 214 213 */ 215 function dropProcessResponse(data) 216 { 214 function dropProcessResponse(data) { 217 215 $(document.body).css( "cursor", "auto"); 218 216 var result = data.getElementsByTagName('result')[0]; … … 264 262 * Hide system-message. 265 263 */ 266 function hideSystemMessage() 267 { 268 $("#system_msg").hide("normal"); 264 function hideSystemMessage() { 265 $("#system_msg").hide("normal"); 269 266 } 270 267
Note: See TracChangeset
for help on using the changeset viewer.
