summaryrefslogtreecommitdiffstats
path: root/web/widget/inline.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/widget/inline.js')
-rw-r--r--web/widget/inline.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/web/widget/inline.js b/web/widget/inline.js
index 9fd89f8..4f66e54 100644
--- a/web/widget/inline.js
+++ b/web/widget/inline.js
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2014 Kaarle Ritvanen
+ * Copyright (c) 2012-2015 Kaarle Ritvanen
* See LICENSE file for license details
*/
@@ -40,7 +40,9 @@ define(
if (set ? _.contains(data.data, name) :
name in data.data) {
- statusBar.setError("Already exists: " + name);
+ statusBar.setError(
+ "Already exists: " + name, "txn"
+ );
return;
}
@@ -61,7 +63,7 @@ define(
button.show();
}).fail(function(xhr) {
statusBar.setError(
- self.formatValidationError(xhr)
+ self.formatValidationError(xhr), "txn"
);
data.delete(name);
});