Revert "yank dead code"

This reverts commit aad442cb20.
pull/1/head
ansuz 8 years ago
parent aad442cb20
commit 4b1f9fd4f1

@ -1,5 +1,6 @@
define([ define([
'/customize/messages.js', '/customize/messages.js',
//'/customize/DecorateToolbar.js',
'/customize/application_config.js', '/customize/application_config.js',
'/common/cryptpad-common.js', '/common/cryptpad-common.js',
'/bower_components/lil-uri/uri.min.js', '/bower_components/lil-uri/uri.min.js',
@ -138,10 +139,20 @@ define([
$('iframe').attr('style', ''); $('iframe').attr('style', '');
$tryit.removeAttr('data-localization'); $tryit.removeAttr('data-localization');
$tryit.text(Messages.recentPadsIframe); $tryit.text(Messages.recentPadsIframe);
//makeRecentPadsTable(recentPads);
} }
/*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);
}*/
}); });
}; };
displayCreateButtons(); displayCreateButtons();
Cryptpad.ready(function () { Cryptpad.ready(function () {
console.log("ready"); console.log("ready");
@ -150,6 +161,7 @@ define([
$tbody = $table.find('tbody'); $tbody = $table.find('tbody');
$tryit = $('#tryit'); $tryit = $('#tryit');
DecorateToolbar.main($('#bottom-bar'));
Cryptpad.styleAlerts(); Cryptpad.styleAlerts();
refreshTable(); refreshTable();

Loading…
Cancel
Save