Better reporting of project-not-found

This commit is contained in:
Nick O'Leary
2018-01-24 21:54:18 +00:00
parent 20a0e4f3e0
commit 95589307cd
6 changed files with 16 additions and 6 deletions

View File

@@ -136,7 +136,7 @@
"pull":"Project '"+msg.project+"' reloaded",
"revert": "Project '"+msg.project+"' reloaded"
}[msg.action];
RED.notify(message);
RED.notify("<p>"+message+"</p>");
RED.sidebar.info.refresh()
});
});
@@ -144,7 +144,8 @@
}
if (msg.text) {
var text = RED._(msg.text,{default:msg.text});
msg.default = msg.text;
var text = RED._(msg.text,msg);
var options = {
type: msg.type,
fixed: msg.timeout === undefined,