Changeset 3672

Show
Ignore:
Timestamp:
07/01/07 16:56:45 (1 year ago)
Author:
timothy
Message:

A better workaround for the iPhone.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Plug-Ins/Web Interface/Resources/iphone/iphone.js

    r3671 r3672  
    453453        this.panelInputElement.selectionEnd = valueLength; 
    454454 
    455         for( var i = 0; i < valueLength; ++i) 
    456                document.execCommand("delete"); 
     455        document.execCommand("selectAll"); 
     456        document.execCommand("delete"); 
    457457} 
    458458