browseView.reloadTableElement.title = "Reload"; 
browseView.reloadTableElement.title = WebInspector.UIString("Reload"); 
WebInspector.DatabasePanel = function(database, views){    var allViews = [{ title: "Query" }, { title: "Browse" }];    if (views)        allViews = allViews.concat(views);    WebInspector.ResourcePanel.call(this, database, allViews);    this.currentView = this.views.browse;    this.queryPromptElement = document.createElement("textarea");    this.queryPromptElement.className = "database-prompt";    this.element.appendChild(this.queryPromptElement);    var panel = this;    this.queryPromptElement.addEventListener("keydown", function(event) { panel.queryInputKeypress(event) }, false);    this.queryPromptHistory = [];    this.queryPromptHistoryOffset = 0;    var queryView = this.views.query;    queryView.commandListElement = document.createElement("ol");    queryView.commandListElement.className = "database-command-list";    queryView.contentElement.appendChild(queryView.commandListElement);    queryView.show = function()    {        panel.queryPromptElement.focus();        this.commandListElement.scrollTop = this.previousScrollTop;    };    queryView.hide = function()    {        this.previousScrollTop = this.commandListElement.scrollTop;    };    var browseView = this.views.browse;    browseView.reloadTableElement = document.createElement("button");    browseView.reloadTableElement.appendChild(document.createElement("img"));    browseView.reloadTableElement.className = "database-table-reload";    browseView.reloadTableElement.title = "Reload";    browseView.reloadTableElement.addEventListener("click", function() { panel.updateTableList(); panel.updateTableBrowser() }, false);    browseView.show = function()    {        panel.updateTableList();        panel.queryPromptElement.focus();        this.tableSelectElement.removeStyleClass("hidden");        if (!this.tableSelectElement.parentNode)            document.getElementById("toolbarButtons").appendChild(this.tableSelectElement);        this.reloadTableElement.removeStyleClass("hidden");        if (!this.reloadTableElement.parentNode)            document.getElementById("toolbarButtons").appendChild(this.reloadTableElement);        this.contentElement.scrollTop = this.previousScrollTop;    };    browseView.hide = function()    {        this.tableSelectElement.addStyleClass("hidden");        this.reloadTableElement.addStyleClass("hidden");        this.previousScrollTop = this.contentElement.scrollTop;    };}
1725	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1725/11650fd39ffebe23630ae00304720f3195cfabd4/DatabasePanel.js/clean/WebCore/page/inspector/DatabasePanel.js