Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Commit 52f08c4

Browse files
author
matthew
committed
[svn] Work done with Kurt. GUI bug not manifest, and multiple attributes can be added.
--HG-- branch : ProveIt
1 parent 60b82c0 commit 52f08c4

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

content/ProveIt.xul

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -771,9 +771,9 @@
771771
<textbox id="editprimerightlabel"/>
772772
</hbox>
773773
<hbox id="editprimetext" hidden="true">
774-
<textbox id="editprimelefttext"/>
774+
<textbox id="editprimelefttext" minwidth="140" flex="1"/>
775775
<label value="="/>
776-
<textbox id="editprimerighttext"/>
776+
<textbox id="editprimerighttext" flex="1"/>
777777
</hbox>
778778

779779
<label id = "star" class = "requiredParam" style="display: none;" value="*"/>

content/test.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -836,14 +836,16 @@ com.elclab.proveit = {
836836
com.elclab.proveit.log("item: " + i);
837837
com.elclab.proveit.log("node: " + node);
838838
delete(com.elclab.proveit.currentrefs[name].params[node]);
839-
var paramName = com.elclab.proveit.getSidebarDoc().getElementById(node + "namec").value;
839+
//var paramName = com.elclab.proveit.getSidebarDoc().getElementById(node + "namec").value;
840+
var paramName = list[i].childNodes[0].value;
840841
com.elclab.proveit.log("paramName: " + paramName);
841-
var paramVal = com.elclab.proveit.getSidebarDoc().getElementById(node + "value").value;
842+
//var paramVal = com.elclab.proveit.getSidebarDoc().getElementById(node + "value").value;
843+
var paramVal = list[i].childNodes[2].value;
842844
com.elclab.proveit.log("paramVal: " + paramVal);
843-
845+
/*
844846
com.elclab.proveit.log("Setting title = test2");
845847
com.elclab.proveit.currentrefs[name].params["title"] = "title2";
846-
848+
*/
847849
if (paramName != "" && paramVal != "")
848850
{
849851
com.elclab.proveit.log("Setting " + paramName + "= " + paramVal);

install.rdf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<Description about="urn:mozilla:install-manifest">
77
<em:name>ProveIt</em:name>
8-
<em:version>1.0.617</em:version>
8+
<em:version>1.0.620</em:version>
99
<em:description>A Extension to facilitate the insertion of citation tags in Wikipedia.</em:description>
1010
<em:creator>Christopher Jordan and Matthew Flaschen</em:creator>
1111
<em:id>ProveIt@somedomain.com</em:id>

0 commit comments

Comments
 (0)