diff options
author | Ian Moore <imoore76@yahoo.com> | 2015-09-09 08:51:46 -0400 |
---|---|---|
committer | Ian Moore <imoore76@yahoo.com> | 2015-09-09 08:51:46 -0400 |
commit | b43db21f8963d49890531354ec3a3151b249be0e (patch) | |
tree | 1a1fdea61550778cfb1b9fd2386d4d0497a70d9e /js/jquery.projectPlugins.js | |
parent | cfae402eee8881fcb5cce0e45d2b67ee25335254 (diff) | |
download | phpvirtualbox-b43db21f8963d49890531354ec3a3151b249be0e.zip phpvirtualbox-b43db21f8963d49890531354ec3a3151b249be0e.tar.gz phpvirtualbox-b43db21f8963d49890531354ec3a3151b249be0e.tar.bz2 |
See Changelog
Diffstat (limited to 'js/jquery.projectPlugins.js')
-rw-r--r-- | js/jquery.projectPlugins.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/js/jquery.projectPlugins.js b/js/jquery.projectPlugins.js index 1386b2f..702d14f 100644 --- a/js/jquery.projectPlugins.js +++ b/js/jquery.projectPlugins.js @@ -532,9 +532,10 @@ if(jQuery) (function($){ return $('<li/>').addClass("folder") .addClass(data.expanded ? 'expanded' : 'collapsed') .addClass('vboxListItem') - .addClass(data.selected ? 'vboxListItemSelected' : '') .append( - $('<a/>').attr({'href':'#','name':data.path,'rel':data.path}).text(data.name) + $('<a/>').attr({'href':'#','name':data.path,'rel':data.path}) + .addClass(data.selected ? 'vboxListItemSelected' : '') + .text(data.name) ); } @@ -552,7 +553,7 @@ if(jQuery) (function($){ return a.type == 'folder' ? 1 : -1 }); - + var elms = []; for(var i = 0; i < data.length; i++) { |