rem: var enable = insertNew ? (gDialog.hrefInput.value.trimString().length > 0) : true; 
add: var enable = insertNew ? (TrimString(gDialog.hrefInput.value).length > 0) : true; 
context: function doEnabling(){  // We disable Ok button when there's no href text only if inserting a new link  var enable = insertNew ? (gDialog.hrefInput.value.trimString().length > 0) : true;  SetElementEnabledById( "ok", enable);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4c3cd207e0b294caecafe743584ba94fbc23d262/EdLinkProps.js/buggy/editor/ui/dialogs/content/EdLinkProps.js