Index: Source/devtools/front_end/sources/AddSourceMapURLDialog.js |
diff --git a/Source/devtools/front_end/sources/AddSourceMapURLDialog.js b/Source/devtools/front_end/sources/AddSourceMapURLDialog.js |
index 9403e850e5aea3658e109664ece3a741ff380930..9688cc567c49b631c5fe3b231373941a05f1b747 100644 |
--- a/Source/devtools/front_end/sources/AddSourceMapURLDialog.js |
+++ b/Source/devtools/front_end/sources/AddSourceMapURLDialog.js |
@@ -17,19 +17,18 @@ WebInspector.AddSourceMapURLDialog = function(callback) |
this._input.setAttribute("type", "text"); |
this._goButton = this.element.createChild("button"); |
- this._goButton.textContent = WebInspector.UIString("Go"); |
+ this._goButton.textContent = WebInspector.UIString("Add"); |
this._goButton.addEventListener("click", this._onGoClick.bind(this), false); |
this._callback = callback; |
} |
/** |
- * @param {!Element} element |
* @param {function(string)} callback |
*/ |
-WebInspector.AddSourceMapURLDialog.show = function(element, callback) |
+WebInspector.AddSourceMapURLDialog.show = function(callback) |
{ |
- WebInspector.Dialog.show(element, new WebInspector.AddSourceMapURLDialog(callback)); |
+ WebInspector.Dialog.show(new WebInspector.AddSourceMapURLDialog(callback)); |
} |
WebInspector.AddSourceMapURLDialog.prototype = { |