feature(path) clear-storage: add data-name

This commit is contained in:
coderaiser 2014-04-18 04:18:34 -04:00
parent 2fe3595fc6
commit 2d23b808cb
3 changed files with 4 additions and 4 deletions

View file

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

View file

@ -86,7 +86,7 @@ var Util, DOM, CloudCmd;
filesElement = DOM.getByDataName('js-files', panel),
pathElement = DOM.getByDataName('js-path', panel),
pathLinks = DOM.getByDataName('js-links', pathElement).children,
clearStorage = DOM.getByClass('clear-storage', pathElement),
clearStorage = DOM.getByDataName('js-clear-storage', pathElement),
refresh = DOM.getByDataName('js-refresh', pathElement);
/* ставим загрузку гифа на клик*/
@ -112,7 +112,7 @@ var Util, DOM, CloudCmd;
filesElement = DOM.getByDataName('js-files', panel),
pathElement = DOM.getByDataName('js-path', panel),
pathLinks = DOM.getByDataName('js-links', pathElement).children,
clearStorage = DOM.getByClass('clear-storage', pathElement),
clearStorage = DOM.getByDataName('js-clear-storage', pathElement),
refresh = DOM.getByDataName('js-refresh', pathElement);
/* ставим загрузку гифа на клик*/

View file

@ -36,7 +36,7 @@
Expect =
'<div data-name="js-path" class="reduce-text" title="/etc/X11/">' +
'<span class="path-icon clear-storage" ' +
'<span data-name="js-clear-storage" class="path-icon clear-storage" ' +
'title="clear storage (Ctrl+D)">' +
'</span>' +
'<a data-name="js-refresh" href="/fs/etc/X11" ' +