Firefox Extension: Save key/values when the length is greater than 0.
This commit is contained in:
parent
b429401790
commit
081799ea65
@ -235,7 +235,6 @@ function promptuser()
|
|||||||
obj = obj.QueryInterface(Components.interfaces.IMiCASAKeys);
|
obj = obj.QueryInterface(Components.interfaces.IMiCASAKeys);
|
||||||
}
|
}
|
||||||
|
|
||||||
//alert("Reading");
|
|
||||||
var theValue = new String;
|
var theValue = new String;
|
||||||
var res;
|
var res;
|
||||||
try
|
try
|
||||||
@ -384,6 +383,8 @@ function promptuser()
|
|||||||
//alert('do nothing');
|
//alert('do nothing');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (sValue.length > 0)
|
||||||
{
|
{
|
||||||
logMessage('Writing ' + secretID + ' : ' + sKey + ' : xxxxxxx');
|
logMessage('Writing ' + secretID + ' : ' + sKey + ' : xxxxxxx');
|
||||||
try {
|
try {
|
||||||
@ -400,6 +401,7 @@ function promptuser()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (autologin.selected)
|
if (autologin.selected)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user