fix bug "Specify the attribute is required or optional"
This commit is contained in:
parent
8bf1705460
commit
074f5b3fd4
|
@ -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 + "   (required)";
|
||||
label = label + "   <font color='red'>(required)</font>";
|
||||
$(p).html(label);
|
||||
$(boxHeader).append(p);
|
||||
$(boxHeader).addClass("containerHeader")
|
||||
|
|
Loading…
Reference in New Issue