[Pkg-mozext-commits] [adblock-plus] 71/98: Issue 5057 - Update adblockpluscore dependency to revision 3bdddf0e8343
David Prévot
taffit at moszumanska.debian.org
Tue Oct 24 01:30:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit cf46e7f52e2cbd1b7a4c14549cf4f3fffa43b308
Author: Wladimir Palant <trev at adblockplus.org>
Date: Wed Mar 29 16:21:03 2017 +0200
Issue 5057 - Update adblockpluscore dependency to revision 3bdddf0e8343
---
chrome/content/ui/filters-backup.js | 26 ++++++++++++++------------
dependencies | 2 +-
2 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/chrome/content/ui/filters-backup.js b/chrome/content/ui/filters-backup.js
index 260dc1c..f0f5ac5 100644
--- a/chrome/content/ui/filters-backup.js
+++ b/chrome/content/ui/filters-backup.js
@@ -97,20 +97,22 @@ var Backup =
while (this.restoreInsertionPoint.nextSibling && !this.restoreInsertionPoint.nextSibling.id)
this.restoreInsertionPoint.parentNode.removeChild(this.restoreInsertionPoint.nextSibling);
- let files = FilterStorage.getBackupFiles().reverse();
- for (let i = 0; i < files.length; i++)
+ FilterStorage.getBackupFiles().then(backups =>
{
- let file = files[i];
- let item = this.restoreTemplate.cloneNode(true);
- let label = item.getAttribute("label");
- label = label.replace(/\?1\?/, Utils.formatTime(file.lastModifiedTime));
- item.setAttribute("label", label);
- item.addEventListener("command", function()
+ backups.reverse();
+ for (let backup of backups)
{
- Backup.restoreAllData(file);
- }, false);
- this.restoreInsertionPoint.parentNode.insertBefore(item, this.restoreInsertionPoint.nextSibling);
- }
+ let item = this.restoreTemplate.cloneNode(true);
+ let label = item.getAttribute("label");
+ label = label.replace(/\?1\?/, Utils.formatTime(backup.lastModified));
+ item.setAttribute("label", label);
+ item.addEventListener("command", function()
+ {
+ Backup.restoreAllData(backup.file);
+ }, false);
+ this.restoreInsertionPoint.parentNode.insertBefore(item, this.restoreInsertionPoint.nextSibling);
+ }
+ });
},
/**
diff --git a/dependencies b/dependencies
index e8c48e3..1e44311 100644
--- a/dependencies
+++ b/dependencies
@@ -1,5 +1,5 @@
_root = hg:https://hg.adblockplus.org/ git:https://github.com/adblockplus/
_self = buildtools/ensure_dependencies.py
buildtools = buildtools hg:daa9df1ee39f git:3ab934a
-adblockpluscore = adblockpluscore hg:d0715e99bd3b git:82284b6
+adblockpluscore = adblockpluscore hg:3bdddf0e8343 git:bb21628
adblockplusui = adblockplusui hg:8ceaabb9c639 git:6222fd2
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list