Skip to content

Commit

Permalink
putting the remove back for the little ajax spinners
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Jun 14, 2010
1 parent b071d9e commit a26a784
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion extensions/libs/webroot/js/libs/html.js
Expand Up @@ -37,6 +37,20 @@
return metaData;
}

/**
* Remove cols from a table.
*/
HtmlHelper.removeCol = function(col){
if(!col){
return false;
}

pr(col);

$('tr td:eq('+col+'), tr th:eq('+col+')').hide();
return this;
};

/**
* Loading image for ajax.
*
Expand All @@ -47,7 +61,7 @@
*/
HtmlHelper.loading = function(target, create){
if (!create) {
//$('.loadingImage').remove();
$('.loadingImage').remove();
}
else{
$('#' + target).after('<img class="loadingImage" src="' + Infinitas.base + 'img/core/icons/notifications/loading.gif" alt="loading" width="16px"/>');
Expand Down

0 comments on commit a26a784

Please sign in to comment.