Quote:
Originally Posted by KirbyDE
I think I got it working for the standard editor:
In vbulletin_stdedit.js FIND
PHP Code:
function validatePost(tform, subjectVal, minLength, maxLength)
{
return validatemessage(tform.message.value, subjectVal, minLength, maxLength, false, tform);
}
REPLACE that with
Code:
function validatePost(tform, subjectVal, minLength, maxLength)
{
postOK = validatemessage(tform.message.value, subjectVal, minLength, maxLength, false, tform);
if ((postOK == true) & is_ie) {
Copied = tform.message.createTextRange();
Copied.execCommand("Copy");
}
return postOK;
}
This might bemoce a very useful feature for poor IE users 
|
Thanks for your code KirbyDE, it seems really useful. Do you mind if I add it to the hack?
I didn't modify the standard editor because the copy function is dhtml only used in wysiwyg. And sometimes users prefer the standard editor because the dhtml breaks their explorer (rare cases).