refactor(html) path: rm id=clear-storage

This commit is contained in:
coderaiser 2013-12-25 11:29:54 +00:00
parent b0f6807ba7
commit 426b1771d3
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
<div class=path><span class="path-icon clear-storage" id=clear-storage title="clear storage (Ctrl+D)"></span><span class="path-icon refresh-icon" title="refresh (Ctrl+R)"><a href="{{ link }}"></a></span><span>{{ path }}</span></div>
<div class=path><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>{{ path }}</span></div>

View file

@ -89,7 +89,7 @@ var Util, DOM, CloudCmd;
*/
this.changeLinks = function(pPanelID) {
/* назначаем кнопку очистить кэш и показываем её */
var lClearStorage = DOM.getById('clear-storage');
var lClearStorage = DOM.getByClass('clear-storage')[0];
Events.addClick(Storage.clear, lClearStorage);
/* меняем ссылки на ajax-запросы */