refactor(path) .js-path -> #js-path

This commit is contained in:
coderaiser 2014-02-12 07:56:53 -05:00
parent b7eb1d3385
commit 615f12d73c
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
<div class="js-path reduce-text" title="{{ fullPath }}"><span class="path-icon clear-storage" title="clear storage (Ctrl+D)"></span><span class="path-icon refresh-icon" title="refresh (Ctrl+R)"><a href="{{ link }}"></a></span><span class=links>{{ path }}</span></div>
<div id= "js-path" class="reduce-text" title="{{ fullPath }}"><span class="path-icon clear-storage" title="clear storage (Ctrl+D)"></span><span class="path-icon refresh-icon" title="refresh (Ctrl+R)"><a href="{{ link }}"></a></span><span class=links>{{ path }}</span></div>

View file

@ -841,7 +841,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
*/
this.getCurrentDirPath = function(pPanel) {
var lPanel = pPanel || this.getPanel(),
lPath = this.getByClass('js-path', lPanel),
lPath = this.getById('js-path', lPanel),
lRet;
if (lPath)