fix bug "Specify the attribute is required or optional"

This commit is contained in:
daisyonly 2014-09-05 10:35:43 +08:00
parent 8bf1705460
commit 074f5b3fd4
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ EditorFactory.prototype.createBaseEditor = function(label, id, required) {
var boxHeader = document.createElement("div");
var p = document.createElement("p");
if (required == "true")
label = label + "&nbsp &nbsp(required)";
label = label + "&nbsp &nbsp<font color='red'>(required)</font>";
$(p).html(label);
$(boxHeader).append(p);
$(boxHeader).addClass("containerHeader")