Solved! Go to Solution.
.esriBookmarkEditBox { font-size: 12px; height: 20px; position: relative; width: 180px; }
var bookmarks = new esri.dijit.Bookmarks( { map: map ,bookmarks: [] ,editable: true } ,dojo.byId(this.panel.getContentTarget().id) ); bookmarks._editBookmarkLabel = function(e){ bookmarks.constructor.prototype._editBookmarkLabel.call(bookmarks, e); var inputs = bookmarks.bookmarkDomNode.getElementsByTagName("input") if (inputs.length > 0){ inputs[0].style.left = "0px"; inputs[0].style.top = "-" + inputs[0].scrollHeight + "px"; } };
var bookmarks = new esri.dijit.Bookmarks( { map: map ,bookmarks: [] ,editable: true } ,dojo.byId("divBookmarks") ); bookmarks._editBookmarkLabel = function(e){ // where the code of the function is essentially the same as what is already // in esri.digit.Bookmark._editBookmarkLabel, with the exception of the // style values for the INPUT DIV's creation }
var _2c = _2.position(_2b, true);
esri.dijit.Bookmarks.prototype._editBookmarkLabel = function(e){ : };
var bookmarks = new esri.dijit.Bookmarks(...); bookmarks.__proto__._editBookmarkLabel = function(e){ : };
.esriBookmarkEditBox { font-size: 12px; height: 20px; position: relative; width: 180px; }
var bookmarks = new esri.dijit.Bookmarks( { map: map ,bookmarks: [] ,editable: true } ,dojo.byId(this.panel.getContentTarget().id) ); bookmarks._editBookmarkLabel = function(e){ bookmarks.constructor.prototype._editBookmarkLabel.call(bookmarks, e); var inputs = bookmarks.bookmarkDomNode.getElementsByTagName("input") if (inputs.length > 0){ inputs[0].style.left = "0px"; inputs[0].style.top = "-" + inputs[0].scrollHeight + "px"; } };