Web Inspector: file open dialog appears when user clicks on the timeline bar in timel...
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Sep 2011 17:43:36 +0000 (17:43 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Sep 2011 17:43:36 +0000 (17:43 +0000)
https://bugs.webkit.org/show_bug.cgi?id=68312

Reviewed by Pavel Feldman.

       * inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._createFileSelector):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@95383 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/TimelinePanel.js

index b8325e307bcae65a5d98b6b39744aca574d0f42b..4a0076a5fa06fb4481e7737062f8e4f60ff5505c 100644 (file)
@@ -1,3 +1,13 @@
+2011-09-17  Ilya Tikhonovsky  <loislo@chromium.org>
+
+        Web Inspector: file open dialog appears when user clicks on the timeline bar in timeline panel.
+        https://bugs.webkit.org/show_bug.cgi?id=68312
+
+        Reviewed by Pavel Feldman.
+
+       * inspector/front-end/TimelinePanel.js:
+        (WebInspector.TimelinePanel.prototype._createFileSelector):
+
 2011-09-17  Jeff Miller  <jeffm@apple.com>
 
         Build fix after r95372.
index ed3a0a758a70ac08bf062f5802cd94e4d2cf5af9..8015c16c4113eab4af5b4708f77c4fbe5ef02197 100644 (file)
@@ -251,7 +251,7 @@ WebInspector.TimelinePanel.prototype = {
 
         var fileSelectorElement = document.createElement("input");
         fileSelectorElement.type = "file";
-        fileSelectorElement.style.opacity = 0;
+        fileSelectorElement.style.display = "none";
         fileSelectorElement.onchange = this._loadFromFile.bind(this);
         this.element.appendChild(fileSelectorElement);
         this._fileSelectorElement = fileSelectorElement;