Empty <table> tag is written if there are no dirctories or no files. This was causing the following table after the empty table not to have sorting functionality. Fixed by including writing <table> tag inside 'if' statement.
Empty <table> tag is written if there are no dirctories or no files. This was causing the following table after the empty table not to have sorting functionality. Fixed by including writing <table> tag inside 'if' statement.

Review URL: https://chromiumcodereview.appspot.com/10736054

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@146504 0039d316-1c4b-4281-b951-d872f2087c98

timopulkkinen/BubbleFish,keishi/chromium,fujunwei/chromium-crosswalk,ChromiumWebApps/chromium,dednal/chromium.src,anirudhSK/chromium,fujunwei/chromium-crosswalk,jaruba/chromium.src,chuan9/chromium-crosswalk,littlstar/chromium.src,Jonekee/chromium.src,ltilve/chromium,dushu1203/chromium.src,Jonekee/chromium.src,Just-D/chromium-1,ondra-novak/chromium.src,anirudhSK/chromium,dushu1203/chromium.src,dushu1203/chromium.src,hujiajie/pa-chromium,M4sse/chromium.src,axinging/chromium-crosswalk,hgl888/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,markYoungH/chromium.src,TheTypoMaster/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,markYoungH/chromium.src,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,Just-D/chromium-1,patrickm/chromium.src,dednal/chromium.src,chuan9/chromium-crosswalk,fujunwei/chromium-crosswalk,ltilve/chromium,ltilve/chromium,anirudhSK/chromium,dednal/chromium.src,markYoungH/chromium.src,anirudhSK/chromium,krieger-od/nwjs_chromium.src,PeterWangIntel/chromium-crosswalk,Fireblend/chromium-crosswalk,ChromiumWebApps/chromium,dushu1203/chromium.src,keishi/chromium,bright-sparks/chromium-spacewalk,keishi/chromium,PeterWangIntel/chromium-crosswalk,nacl-webkit/chrome_deps,patrickm/chromium.src,ChromiumWebApps/chromium,ChromiumWebApps/chromium,jaruba/chromium.src,dushu1203/chromium.src,mogoweb/chromium-crosswalk,ChromiumWebApps/chromium,timopulkkinen/BubbleFish,anirudhSK/chromium,pozdnyakov/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,mohamed--abdel-maksoud/chromium.src,zcbenz/cefode-chromium,ondra-novak/chromium.src,Fireblend/chromium-crosswalk,junmin-zhu/chromium-rivertrail,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish,timopulkkinen/BubbleFish,Chilledheart/chromium,Just-D/chromium-1,markYoungH/chromium.src,Just-D/chromium-1,dushu1203/chromium.src,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,ondra-novak/chromium.src,M4sse/chromium.src,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,Chilledheart/chromium,TheTypoMaster/chromium-crosswalk,dednal/chromium.src,mogoweb/chromium-crosswalk,hujiajie/pa-chromium,nacl-webkit/chrome_deps,hujiajie/pa-chromium,ChromiumWebApps/chromium,littlstar/chromium.src,Fireblend/chromium-crosswalk,pozdnyakov/chromium-crosswalk,hujiajie/pa-chromium,mogoweb/chromium-crosswalk,Chilledheart/chromium,M4sse/chromium.src,junmin-zhu/chromium-rivertrail,patrickm/chromium.src,littlstar/chromium.src,hujiajie/pa-chromium,markYoungH/chromium.src,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,markYoungH/chromium.src,Chilledheart/chromium,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,axinging/chromium-crosswalk,nacl-webkit/chrome_deps,ondra-novak/chromium.src,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,Jonekee/chromium.src,timopulkkinen/BubbleFish,dednal/chromium.src,pozdnyakov/chromium-crosswalk,ondra-novak/chromium.src,krieger-od/nwjs_chromium.src,chuan9/chromium-crosswalk,krieger-od/nwjs_chromium.src,jaruba/chromium.src,nacl-webkit/chrome_deps,keishi/chromium,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,PeterWangIntel/chromium-crosswalk,keishi/chromium,ondra-novak/chromium.src,PeterWangIntel/chromium-crosswalk,littlstar/chromium.src,dednal/chromium.src,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk-efl,dushu1203/chromium.src,timopulkkinen/BubbleFish,Jonekee/chromium.src,TheTypoMaster/chromium-crosswalk,Chilledheart/chromium,Just-D/chromium-1,chuan9/chromium-crosswalk,pozdnyakov/chromium-crosswalk,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk,jaruba/chromium.src,ChromiumWebApps/chromium,anirudhSK/chromium,timopulkkinen/BubbleFish,Jonekee/chromium.src,axinging/chromium-crosswalk,hgl888/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,Fireblend/chromium-crosswalk,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,ltilve/chromium,ChromiumWebApps/chromium,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,fujunwei/chromium-crosswalk,anirudhSK/chromium,Fireblend/chromium-crosswalk,pozdnyakov/chromium-crosswalk,ltilve/chromium,ChromiumWebApps/chromium,bright-sparks/chromium-spacewalk,littlstar/chromium.src,hujiajie/pa-chromium,dednal/chromium.src,Chilledheart/chromium,TheTypoMaster/chromium-crosswalk,mogoweb/chromium-crosswalk,patrickm/chromium.src,hgl888/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,patrickm/chromium.src,Just-D/chromium-1,crosswalk-project/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,axinging/chromium-crosswalk,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,fujunwei/chromium-crosswalk,ondra-novak/chromium.src,jaruba/chromium.src,ondra-novak/chromium.src,PeterWangIntel/chromium-crosswalk,hujiajie/pa-chromium,fujunwei/chromium-crosswalk,patrickm/chromium.src,chuan9/chromium-crosswalk,Just-D/chromium-1,jaruba/chromium.src,M4sse/chromium.src,ltilve/chromium,jaruba/chromium.src,keishi/chromium,anirudhSK/chromium,zcbenz/cefode-chromium,zcbenz/cefode-chromium,pozdnyakov/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Pluto-tv/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,dednal/chromium.src,nacl-webkit/chrome_deps,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,Jonekee/chromium.src,mohamed--abdel-maksoud/chromium.src,keishi/chromium,hujiajie/pa-chromium,axinging/chromium-crosswalk,Chilledheart/chromium,pozdnyakov/chromium-crosswalk,dushu1203/chromium.src,chuan9/chromium-crosswalk,bright-sparks/chromium-spacewalk,Fireblend/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,dushu1203/chromium.src,chuan9/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,axinging/chromium-crosswalk,jaruba/chromium.src,Pluto-tv/chromium-crosswalk,Just-D/chromium-1,hgl888/chromium-crosswalk,junmin-zhu/chromium-rivertrail,bright-sparks/chromium-spacewalk,mohamed--abdel-maksoud/chromium.src,zcbenz/cefode-chromium,ondra-novak/chromium.src,krieger-od/nwjs_chromium.src,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,hujiajie/pa-chromium,littlstar/chromium.src,mohamed--abdel-maksoud/chromium.src,littlstar/chromium.src,M4sse/chromium.src,ltilve/chromium,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,mogoweb/chromium-crosswalk,jaruba/chromium.src,markYoungH/chromium.src,Fireblend/chromium-crosswalk,bright-sparks/chromium-spacewalk,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,keishi/chromium,jaruba/chromium.src,junmin-zhu/chromium-rivertrail,axinging/chromium-crosswalk,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,keishi/chromium,Chilledheart/chromium,patrickm/chromium.src,patrickm/chromium.src,krieger-od/nwjs_chromium.src,krieger-od/nwjs_chromium.src,littlstar/chromium.src,pozdnyakov/chromium-crosswalk,M4sse/chromium.src,keishi/chromium,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,crosswalk-project/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,M4sse/chromium.src,axinging/chromium-crosswalk,mogoweb/chromium-crosswalk,Jonekee/chromium.src,chuan9/chromium-crosswalk,timopulkkinen/BubbleFish,M4sse/chromium.src,hgl888/chromium-crosswalk-efl,Just-D/chromium-1,anirudhSK/chromium,M4sse/chromium.src,jaruba/chromium.src,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk-efl,ltilve/chromium,junmin-zhu/chromium-rivertrail,fujunwei/chromium-crosswalk,zcbenz/cefode-chromium,Jonekee/chromium.src,dushu1203/chromium.src,hujiajie/pa-chromium,Jonekee/chromium.src,markYoungH/chromium.src,timopulkkinen/BubbleFish,junmin-zhu/chromium-rivertrail,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,patrickm/chromium.src,M4sse/chromium.src,junmin-zhu/chromium-rivertrail,junmin-zhu/chromium-rivertrail,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,nacl-webkit/chrome_deps,markYoungH/chromium.src,PeterWangIntel/chromium-crosswalk,dushu1203/chromium.src,markYoungH/chromium.src,nacl-webkit/chrome_deps,nacl-webkit/chrome_deps,mohamed--abdel-maksoud/chromium.src,markYoungH/chromium.src,PeterWangIntel/chromium-crosswalk,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,ltilve/chromium,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,fujunwei/chromium-crosswalk,Chilledheart/chromium,dednal/chromium.src,nacl-webkit/chrome_deps,mohamed--abdel-maksoud/chromium.src,anirudhSK/chromium,hujiajie/pa-chromium,zcbenz/cefode-chromium,hgl888/chromium-crosswalk,keishi/chromium,dednal/chromium.src,mogoweb/chromium-crosswalk