rem: this.showItem( "context-copy", this.isTextSelected || this.onTextInput); 
add: this.showItem( "context-copy", this.isContentSelected || this.onTextInput); 
context:     initClipboardItems : function () {        // Copy depends on whether there is selected text.        // Enabling this context menu item is now done through the global        // command updating system        // this.setItemAttr( "context-copy", "disabled", !this.isTextSelected() );        goUpdateGlobalEditMenuItems();        this.showItem( "context-undo", this.onTextInput );        this.showItem( "context-redo", this.onTextInput );        this.showItem( "context-sep-undo", this.onTextInput );        this.showItem( "context-cut", this.onTextInput );        this.showItem( "context-copy", this.isTextSelected || this.onTextInput);        this.showItem( "context-paste", this.onTextInput );        this.showItem( "context-delete", this.onTextInput );        this.showItem( "context-sep-paste", this.onTextInput );        this.showItem( "context-selectall", !( this.onLink || this.onImage ) );        this.showItem( "context-sep-selectall", this.isTextSelected && !this.onTextInput );        // In a text area there will be nothing after select all, so we don't want a sep        // Otherwise, if there's text selected then there are extra menu items        // (search for selection and view selection source), so we do want a sep        // XXX dr        // ------        // nsDocumentViewer.cpp has code to determine whether we're        // on a link or an image. we really ought to be using that...        // Copy email link depends on whether we're on an email link.        this.showItem( "context-copyemail", this.onMailtoLink );        // Copy link location depends on whether we're on a link.        this.showItem( "context-copylink", this.onLink );        this.showItem( "context-sep-copylink", this.onLink );        // Copy image location depends on whether we're on an image.        this.showItem( "context-copyimage", this.onImage );        this.showItem( "context-sep-copyimage", this.onImage );    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/a075123ea4f607dd7983dd52dbf883d0370bbd00/nsContextMenu.js/clean/suite/common/nsContextMenu.js