So first off there is a string of code giving an error that is not even used so remove this starting at line 87
"this.own(on(this.bookmarkName, 'keydown', lang.hitch(this, function(evt){
var keyNum = evt.keyCode !== undefined ? evt.keyCode : evt.which;
if (keyNum === 13) {
}
})));"
As far as the not appearing the first time, remove this line from the HTML, it will fix it
<div class="jimu-state-error" data-dojo-attach-point="errorNode"> </div> |
This is the error message that would appear if the bookmark name was blank when trying to add a new one