diff options
author | imoore76 <imoore76@users.noreply.github.com> | 2015-09-09 08:55:24 -0400 |
---|---|---|
committer | imoore76 <imoore76@users.noreply.github.com> | 2015-09-09 08:55:24 -0400 |
commit | 148f49edf5e2c2877826e383f531a92de99e96e4 (patch) | |
tree | 89365f4399388ec19fe40f6169f89d137937ac75 /js/jquery.projectPlugins.js | |
parent | a1172caa70fc60663bc0db62b643655497de3354 (diff) | |
parent | 06514eded5d1991ce67c5aa2b43428c918fe46d6 (diff) | |
download | phpvirtualbox-148f49edf5e2c2877826e383f531a92de99e96e4.zip phpvirtualbox-148f49edf5e2c2877826e383f531a92de99e96e4.tar.gz phpvirtualbox-148f49edf5e2c2877826e383f531a92de99e96e4.tar.bz2 |
Merge pull request #6 from imoore76/develop
5.0-3
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++) { |