From fe8342384533430f8ca8bf6d61ddd2ef42d828e7 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 30 May 2008 15:49:45 -0700 Subject: [PATCH] Removing special case / hack for share this notebook radio buttons, as it didn't appear to be necessary. --- static/js/Editor.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/static/js/Editor.js b/static/js/Editor.js index bb911a1..8454880 100644 --- a/static/js/Editor.js +++ b/static/js/Editor.js @@ -154,11 +154,6 @@ Editor.prototype.finish_init = function () { connect( this.iframe.contentWindow, "onblur", function ( event ) { self.blurred( event ); } ); connect( this.iframe.contentWindow, "onfocus", function ( event ) { self.focused( event ); } ); - // special case: don't handle mouse click for share_notebook magic note, so radio button links - // work as intended - if ( this.id != "share_notebook" ) - connect( this.document, "onclick", function ( event ) { self.mouse_clicked( event ); } ); - // special-case: connect any submit buttons within the contents of this note withDocument( this.document, function () { var signup_button = getElement( "signup_button" );