Skip to content

Commit

Permalink
SAK-28168 - Double clicking links in chrome freezes forums
Browse files Browse the repository at this point in the history
git-svn-id: https://source.sakaiproject.org/svn/msgcntr/trunk@316150 66ffb92e-73f9-0310-93c1-f5514f145a0a
  • Loading branch information
jonespm committed Dec 18, 2014
1 parent b34b1b0 commit 4b34ccc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion msgcntr/messageforums-app/src/webapp/js/sak-10625.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
//fix for double click stack traces in IE - SAK-10625
var click=0;
sak10625_disabler = function(){
$("a, input[type=button], input[type=submit]").attr("onclick", "");
var existing_event = this.onclick;
this.onclick = null;
if(existing_event) $(this).click(existing_event);
}
if (typeof window.jQuery != "undefined") {

Expand Down

0 comments on commit 4b34ccc

Please sign in to comment.