Skip to content

Commit

Permalink
insignificant changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lazierthanthou committed Jul 3, 2011
1 parent 13dd058 commit 5177e6f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
16 changes: 8 additions & 8 deletions sqlite-manager/chrome/content/confirm.xul
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<!DOCTYPE window SYSTEM "chrome://sqlitemanager/locale/sqlitemanager.dtd">

<dialog id="dialog-confirm" title="&window.title; - "
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
buttons="accept,cancel"
buttonlabelcancel="&confirm.button.cancel;"
buttonlabelcancel="&confirm.button.cancel;"
buttonlabelaccept="&confirm.button.accept;"
ondialogaccept="return SmConfirm.onClose(true);"
ondialogcancel="return SmConfirm.onClose(false);"
Expand All @@ -15,10 +15,10 @@
<script type="application/x-javascript">
<![CDATA[
var SmConfirm = {
onLoad: function() {
if (window.arguments[3] == "alert") {
document.getElementById("dialog-confirm").buttons = "accept";
document.getElementById("dialog-confirm").getButton("accept").label = "Close";
onLoad: function() {
if (window.arguments[3] == "alert") {
document.getElementById("dialog-confirm").buttons = "accept";
document.getElementById("dialog-confirm").getButton("accept").label = "Close";
}
document.title += " " + window.arguments[0];
document.getElementById("tbMessage").value = window.arguments[1];
Expand All @@ -31,7 +31,7 @@
}
}
]]>
</script>
</script>

<textbox id="tbMessage" rows="8" multiline="true" readonly="true" width="400px"/>
</dialog>
</dialog>
7 changes: 3 additions & 4 deletions sqlite-manager/chrome/content/createTable.xul
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
</row>
<row id="row-template" style="display:none">
<html:input type="text" id="colname" size="10"/>
<menulist id="datatype" style="width:120px"
<menulist id="datatype" style="width:120px"
sizetopopup="always" editable="true"
oncommand="CreateManager.changeDataType(this.id);"
onblur="CreateManager.changeDataType(this.id);">
Expand Down Expand Up @@ -228,10 +228,9 @@
label="&createTable.autoincrement.yes;" checked="false" disabled="true"
tooltiptext="&createTable.autoincrement.tooltip;"
onclick=""/>
<checkbox id="allownull"
label="&createTable.allownull.yes;" checked="true"/>
<checkbox id="allownull" label="&createTable.allownull.yes;" checked="true"/>
<checkbox id="cb-unique" label="&createTable.allownull.yes;" />
<menulist id="defaultvalue" style="width:150px"
<menulist id="defaultvalue" style="width:150px"
sizetopopup="always" editable="true">
<menupopup>
<menuitem id="mi-val-null" label="" selected="true"/>
Expand Down
2 changes: 1 addition & 1 deletion sqlite-manager/chrome/content/sqlitemanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var SQLiteManager = {

experiment: function() {
//checking the use of localStorage in extension
//result: failure
//result: failure even with firefox 5 on 2011-07-03
// window.localStorage.setItem("status", "checking");
// alert(window.localStorage.getItem("status"));
this.mDb.executeAsync(["create table abcd (aa, bb, cc, dd)"]);
Expand Down

0 comments on commit 5177e6f

Please sign in to comment.