don't make empty options

pull/1/head
ansuz 8 years ago
parent a3f6fe8843
commit d64e06c12e

@ -379,7 +379,7 @@ define([
var msg = "Propose an option";
Cryptpad.prompt(msg, "", function (option) {
if (option === null) { return; }
if (option === null || !option) { return; }
makeOption(module.rt.proxy, id, option).val(option).focus();
});
//makeOption(module.rt.proxy, id).focus();

Loading…
Cancel
Save