Changeset 1721 for ZMS


Ignore:
Timestamp:
09.11.2011 22:13:38 (6 months ago)
Author:
zmsdev
Message:

IE9: fixed loss of target in expanded zmi-sitemap elements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ZMS/trunk/dtml/object/manage_menu.dtml

    r1673 r1721  
    7070 * Process response. 
    7171 */ 
    72 function processResponse(data)  
    73 { 
     72function processResponse(data) { 
    7473  // Reset wait-cursor. 
    7574  $(document.body).css( "cursor", "auto"); 
     
    120119    img.onmouseover=Function("divmouseover(this)"); 
    121120    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)}); 
    123122    $(a).addClass( "zmi"); 
    124123    a.appendChild( img); 
     
    135134      if ( (page.getAttribute("permissions")+',').indexOf('<dtml-var "getZMILangStr('ROLE_ZMSADMINISTRATOR')">,')>=0) { 
    136135        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)}); 
    138137        var img = document.createElement( "img"); 
    139138        $(img) 
     
    146145      if ( (page.getAttribute("permissions")+',').indexOf('<dtml-var "getZMILangStr('ROLE_ZMSUSERADMINISTRATOR')">,')>=0) { 
    147146        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)});; 
    149148        var img = document.createElement( "img"); 
    150149        $(img) 
     
    213212 * Process response. 
    214213 */ 
    215 function dropProcessResponse(data)  
    216 { 
     214function dropProcessResponse(data) { 
    217215  $(document.body).css( "cursor", "auto"); 
    218216  var result = data.getElementsByTagName('result')[0]; 
     
    264262 * Hide system-message. 
    265263 */ 
    266 function hideSystemMessage() 
    267 { 
    268   $("#system_msg").hide("normal"); 
     264function hideSystemMessage() { 
     265        $("#system_msg").hide("normal"); 
    269266} 
    270267 
Note: See TracChangeset for help on using the changeset viewer.