Removing special case / hack for share this notebook radio buttons, as it didn't appear to be necessary.
This commit is contained in:
parent
79fe7245b6
commit
fe83423845
|
@ -154,11 +154,6 @@ Editor.prototype.finish_init = function () {
|
||||||
connect( this.iframe.contentWindow, "onblur", function ( event ) { self.blurred( event ); } );
|
connect( this.iframe.contentWindow, "onblur", function ( event ) { self.blurred( event ); } );
|
||||||
connect( this.iframe.contentWindow, "onfocus", function ( event ) { self.focused( 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
|
// special-case: connect any submit buttons within the contents of this note
|
||||||
withDocument( this.document, function () {
|
withDocument( this.document, function () {
|
||||||
var signup_button = getElement( "signup_button" );
|
var signup_button = getElement( "signup_button" );
|
||||||
|
|
Reference in New Issue