Index: chrome/browser/resources/bookmark_manager/js/main.js |
diff --git a/chrome/browser/resources/bookmark_manager/js/main.js b/chrome/browser/resources/bookmark_manager/js/main.js |
index d01fca221906f05f8299c542c69c4ed94c507bab..3afc732ca79fb4f9570a3e0d92540a640369e737 100644 |
--- a/chrome/browser/resources/bookmark_manager/js/main.js |
+++ b/chrome/browser/resources/bookmark_manager/js/main.js |
@@ -461,7 +461,8 @@ function handleCanExecuteForDocument(e) { |
case 'undo-command': |
// The global undo command has no visible UI, so always enable it, and |
// just make it a no-op if undo is not possible. |
- e.canExecute = true; |
+ // Just to serprate undo on search text box to be handled |
Pam (message me for reviews)
2014/07/18 21:31:50
Sorry, but I don't understand this comment, and it
chhajer.m
2014/07/23 05:23:35
Done.
|
+ e.canExecute = e.currentTarget.activeElement !== $('term'); |
break; |
default: |
canExecuteForList(e); |