Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 236716 Details for
Bug 419981
Search page: "Cancel" message does not disappear if there is no hit in the crawler search.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Proposed fix patch
patch419981.txt (text/plain), 2.50 KB, created by
libing wang
on 2013-10-21 10:36:49 EDT
(
hide
)
Description:
Proposed fix patch
Filename:
MIME Type:
Creator:
libing wang
Created:
2013-10-21 10:36:49 EDT
Size:
2.50 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/globalSearch/advSearchOptContainer.js b/bundles/org.eclipse.orion.client.ui/web/orion/globalSearch/advSearchOptContainer.js >index 049d44a..4d3e826 100644 >--- a/bundles/org.eclipse.orion.client.ui/web/orion/globalSearch/advSearchOptContainer.js >+++ b/bundles/org.eclipse.orion.client.ui/web/orion/globalSearch/advSearchOptContainer.js >@@ -100,16 +100,22 @@ > function(meta) { > var parentName = mSearchUtils.fullPathNameByMeta(meta.Parents); > this._locationName = parentName.length === 0 ? meta.Name : parentName + "/" + meta.Name; //$NON-NLS-0$ >- this._searchNameBox.value = this._getDefaultSaveName(); >+ if(this._searchNameBox){ >+ this._searchNameBox.value = this._getDefaultSaveName(); >+ } > }.bind(this), > > function(error) { > this._locationName = "root"; //$NON-NLS-0$ >- this._searchNameBox.value = this._getDefaultSaveName(); >+ if(this._searchNameBox){ >+ this._searchNameBox.value = this._getDefaultSaveName(); >+ } > }.bind(this)); > } else { > this._locationName = "root"; //$NON-NLS-0$ >- this._searchNameBox.value = this._getDefaultSaveName(); >+ if(this._searchNameBox){ >+ this._searchNameBox.value = this._getDefaultSaveName(); >+ } > } > //this._searchHelper = mSearchUtils.generateSearchHelper(searchParams); > this._loadSearchParams(); >@@ -185,7 +191,7 @@ > }, > > _getDefaultSaveName: function() { >- if (this._searchBox.value) { >+ if (this._searchBox && this._searchBox.value) { > var qName = "\'" + this._searchBox.value + "\' in "; //$NON-NLS-1$ //$NON-NLS-0$ > var locName = "root"; //$NON-NLS-0$ > if(this._locationName){ >diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/searchExplorer.js b/bundles/org.eclipse.orion.client.ui/web/orion/searchExplorer.js >index 9f77684..e71db94 100644 >--- a/bundles/org.eclipse.orion.client.ui/web/orion/searchExplorer.js >+++ b/bundles/org.eclipse.orion.client.ui/web/orion/searchExplorer.js >@@ -1468,6 +1468,7 @@ > this.parentNode.textContent = ""; > var textBold = _createElement('b', null, null, this.parentNode); //$NON-NLS-1$ //$NON-NLS-0$ > _place(document.createTextNode(message), textBold, "only"); //$NON-NLS-0$ >+ this.reportStatus(""); > return; > } > var that = this;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 419981
: 236716 |
236717