rem: document.getElementById( "args" ).setAttribute( "value", window.arguments[0] ); 
add: var url = window.arguments[0]; document.getElementById( "args" ).setAttribute( "value", url ); SetSaveAndPublishUI(url); 
context: function TextEditorOnLoad(){    // See if argument was passed.    if ( window.arguments && window.arguments[0] ) {        // Opened via window.openDialog with URL as argument.        // Put argument where EditorStartup expects it.        document.getElementById( "args" ).setAttribute( "value", window.arguments[0] );    }    // Continue with normal startup.    EditorStartup('text', document.getElementById("content-frame"));}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/b738a39faafbdc7cf2403c40806366814b6a457b/editor.js/clean/editor/ui/composer/content/editor.js