rem: var signup_button = withDocument( this.document, function () { return getElement( "signup_button" ); } ); 
add: withDocument( this.document, function () { var signup_button = getElement( "signup_button" ); if ( signup_button ) { var signup_form = getElement( "signup_form" ); connect( signup_button, "onclick", function ( event ) { signal( self, "submit_form", "/users/signup", signup_form ); event.stop(); } ); }  var login_button = getElement( "login_button" ); if ( login_button ) { var login_form = getElement( "login_form" ); connect( login_button, "onclick", function ( event ) { signal( self, "submit_form", "/users/login", login_form ); event.stop(); } ); }  var send_reset_button = getElement( "send_reset_button" ); if ( send_reset_button ) { var send_reset_form = getElement( "send_reset_form" ); connect( send_reset_button, "onclick", function ( event ) { signal( self, "submit_form", "/users/send_reset", send_reset_form ); event.stop(); } ); }  var reset_button = getElement( "reset_button" ); if ( reset_button ) { var reset_form = getElement( "reset_form" ); connect( reset_button, "onclick", function ( event ) { signal( self, "submit_form", "/users/reset_password", reset_form ); event.stop(); } ); }  var invite_button = getElement( "invite_button" ); if ( invite_button ) { var collaborators_radio = getElement( "collaborators_radio" ); connect( "collaborators_link", "onclick", function ( event ) { collaborators_radio.checked = true; event.stop(); } );  var viewers_radio = getElement( "viewers_radio" ); connect( "viewers_link", "onclick", function ( event ) { viewers_radio.checked = true; event.stop(); } );  var owners_radio = getElement( "owners_radio" ); connect( "owners_link", "onclick", function ( event ) { owners_radio.checked = true; event.stop(); } );  var invite_form = getElement( "invite_form" ); connect( invite_button, "onclick", function ( event ) { signal( self, "submit_form", "/users/send_invites", invite_form ); event.stop(); } ); } } ); 
context:   var signup_button = withDocument( this.document, function () { return getElement( "signup_button" ); } );
meta: 4711	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4711/5554b1df179ccdbced8dda4bfb06d685c9f5beb6/Editor.js/clean/static/js/Editor.js