Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7376
placeholder
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 11:22 PM
2014-11-21 23:22:43 (UTC+0)
Size
537 B
Referenced Files
None
Subscribers
None
placeholder
View Options
Index: resources/jquery/jquery.placeholder.js
===================================================================
--- resources/jquery/jquery.placeholder.js (revision 77503)
+++ resources/jquery/jquery.placeholder.js (working copy)
@@ -38,7 +38,7 @@
} )
// Hide on focus
- .focus( function() {
+ .bind( 'onfocus ondrop ondragdrop', function() {
if ($input.hasClass('placeholder')) {
this.value = '';
$input.removeClass( 'placeholder' );
@@ -58,4 +58,4 @@
});
});
-};
\ No newline at end of file
+};
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6909
Default Alt Text
placeholder (537 B)
Attached To
Mode
T28135: Wikipedia search box should allow drag-and-drop in Vector
Attached
Detach File
Event Timeline
Log In to Comment