Skip to content

Commit

Permalink
🔤 BASE #216 melhorando função
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Jan 23, 2023
1 parent dd2432c commit c47622a
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions base/js/FormDin4.js
Original file line number Diff line number Diff line change
Expand Up @@ -4312,10 +4312,17 @@ function fwExportGrid2Excel(dadosJson)
// funções Genéricas para utilização com dhtmlx Tree
function fwTreeAddLoading(tree,id)
{
if( id )
{
if( !tree.getIndexById(id+'loading') )
{
fwTreeViewAddLoading(tree,id);
}
/**
* funções Genéricas para utilização com dhtmlx TreeView
* @param {*} tree
* @param {*} id
*/
function fwTreeViewAddLoading(tree,id)
{
if( id ){
if( !tree.getIndexById(id+'loading') ){
tree.insertNewChild(id,id+'_loading','Carregando...',0,'loader.gif',0,0,'SELECT');
tree.setItemStyle(id+'_loading','color:#FFFFC0;background-color:#969696');
//tree.setItemStyle(id+'_loading','background-color:#969696');
Expand Down

0 comments on commit c47622a

Please sign in to comment.