_openSearch: function(event) {
event.preventDefault();
- UiPageSearchHandler.open(_activePageId, _pageId.options[_pageId.selectedIndex].textContent, function(objectId) {
+ UiPageSearchHandler.open(_activePageId, _pageId.options[_pageId.selectedIndex].textContent.trim(), function(objectId) {
_pageObjectId.value = objectId;
_cache.set(_activePageId, objectId);
});
_openSearch: function(event) {
event.preventDefault();
- UiPageSearchHandler.open(_activePageId, _pageId.options[_pageId.selectedIndex].textContent, function(objectId) {
+ UiPageSearchHandler.open(_activePageId, _pageId.options[_pageId.selectedIndex].textContent.trim(), function(objectId) {
_pageObjectId.value = objectId;
_cache.set(_activePageId, objectId);
});