Fix href re-encryption on setPadTitle

pull/1/head
yflory 5 years ago
parent 58989171f4
commit e7ba890479

@ -45,6 +45,8 @@ define([
var ids = id ? [id] : exp.findChannels([channel]); var ids = id ? [id] : exp.findChannels([channel]);
ids.forEach(function (i) { ids.forEach(function (i) {
var data = exp.getFileData(i, true); var data = exp.getFileData(i, true);
var oldHref = exp.getHref(data);
if (oldHref === href) { return; }
data.href = exp.cryptor.encrypt(href); data.href = exp.cryptor.encrypt(href);
}); });
}; };

Loading…
Cancel
Save