diff --git a/src/General/Settings.coffee b/src/General/Settings.coffee index ffe41d3ac..b8a8d32cd 100644 --- a/src/General/Settings.coffee +++ b/src/General/Settings.coffee @@ -519,7 +519,7 @@ Settings = $.id('lastarchivecheck').textContent = 'never' items = {} - for name in ['archiveLists', 'archiveAutoUpdate', 'captchaLanguage', 'boardnav', 'time', 'timeLocale', 'backlink', 'fileInfo', 'QR.personas', 'favicon', 'usercss', 'customCooldown', 'jsWhitelist'] + for name in ['archiveLists', 'archiveAutoUpdate', 'captchaLanguage', 'boardnav', 'time', 'timeLocale', 'backlink', 'pastedname', 'fileInfo', 'QR.personas', 'favicon', 'usercss', 'customCooldown', 'jsWhitelist'] items[name] = Conf[name] input = inputs[name] event = if name in ['archiveLists', 'archiveAutoUpdate', 'QR.personas', 'favicon', 'usercss'] then 'change' else 'input' @@ -678,6 +678,9 @@ Settings = backlink: -> @nextElementSibling.textContent = @value.replace /%(?:id|%)/g, (x) -> ({'%id': '123456789', '%%': '%'})[x] + pastedname: -> + @nextElementSibling.textContent = "#{@value}.png" + fileInfo: -> data = isReply: true diff --git a/src/General/Settings/Advanced.html b/src/General/Settings/Advanced.html index 53dd2f680..fb81b2946 100644 --- a/src/General/Settings/Advanced.html +++ b/src/General/Settings/Advanced.html @@ -72,6 +72,11 @@