Changeset 1896

Show
Ignore:
Timestamp:
11/22/07 20:01:10 (6 years ago)
Author:
tokuhirom
Message:

prism/wassr: disable links.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • platform/prism/wassr/src/webapp.js

    r1895 r1896  
    9999    }, 
    100100 
     101    // disable ajax on click link. 
     102    _disable_links : function () { 
     103        var tagged_links = host.getBrowser().contentWindow.document.getElementsByClassName('taggedlink') 
     104        for (i=0; i<tagged_links.length; i++) { 
     105            tagged_links[i].onclick = null; 
     106        } 
     107    }, 
     108 
    101109    startup : function() { 
     110        setInterval(Wassr._disable_links, 500); 
    102111        this._timer = setInterval(Wassr._doTimer, 60*1000); 
    103112    },