Changeset 2325

Show
Ignore:
Timestamp:
05/14/08 08:19:54 (21 months ago)
Author:
auno
Message:

Added 'return false' to work sign out link for IE. BugzID:79747

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-38/default_templates/javascript.mtml

    r2313 r2325  
    457457    if ( u && u.is_authenticated ) { 
    458458        if ( u.is_banned ) { 
    459             phrase = '<__trans phrase="You do not have permission to comment on this blog. ([_1]sign out[_2])" params="<a href="javascript:void(0);" onclick="mtSignOut(' + entry_id + ')">%%</a>">'; 
     459            phrase = '<__trans phrase="You do not have permission to comment on this blog. ([_1]sign out[_2])" params="<a href="javascript:void(0);" onclick="mtSignOut(' + entry_id + ');return false;">%%</a>">'; 
    460460        } else { 
    461461            var user_link; 
     
    473473            } 
    474474            // TBD: supplement phrase with userpic if one is available. 
    475             phrase = '<__trans phrase="Thanks for signing in, [_1]. ([_2]sign out[_3])" params="' + user_link + '%%<a href="javascript:void(0)" onclick="mtSignOut(' + entry_id + ')">%%</a>">'; 
     475            phrase = '<__trans phrase="Thanks for signing in, [_1]. ([_2]sign out[_3])" params="' + user_link + '%%<a href="javascript:void(0)" onclick="mtSignOut(' + entry_id + ');return false;">%%</a>">'; 
    476476        } 
    477477    } else {