File manager in the home page, lint

This commit is contained in:
yflory
2016-12-19 17:53:03 +01:00
parent 4646d5c866
commit e3f484d876
10 changed files with 61 additions and 31 deletions

View File

@@ -123,16 +123,19 @@ define([
if (recentPads.length) {
recentPads.sort(Cryptpad.mostRecent);
makeRecentPadsTable(recentPads);
$('iframe').attr('style', '');
$tryit.removeAttr('data-localization');
$tryit.text(Messages.recentPadsIframe);
//makeRecentPadsTable(recentPads);
}
if (hasRecent) {
/*if (hasRecent) {
$('table').attr('style', '');
// Race condition here, this is triggered before the localization in HTML
// so we have to remove the data-localization attr
$tryit.removeAttr('data-localization');
$tryit.text(Messages.recentPads);
}
}*/
});
};