aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xul-ext/chrome/content/icevault.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/xul-ext/chrome/content/icevault.js b/xul-ext/chrome/content/icevault.js
index f2c4c79..1eae3e1 100644
--- a/xul-ext/chrome/content/icevault.js
+++ b/xul-ext/chrome/content/icevault.js
@@ -110,7 +110,10 @@ var icevault = (function() {
// keep the element objects in the state, and build an assoc
// list with the wanted field properties
forms.push(fields);
- getForms.push({ method: form.method.toUpperCase(), action: form.action, fields: getFields });
+ let action = form.action;
+ if (action == "")
+ action = form.baseURI;
+ getForms.push({ method: form.method.toUpperCase(), action: action, fields: getFields });
}
}