From 86e927f0dc9520a58e62b2113df34d02214ae4a9 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 21 May 2013 16:29:18 +0200 Subject: [PATCH] Removed old TODOs --- wcfsetup/install/files/js/WCF.Message.js | 3 +-- wcfsetup/install/files/js/WCF.js | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/wcfsetup/install/files/js/WCF.Message.js b/wcfsetup/install/files/js/WCF.Message.js index 29bd943920..6a937d3919 100644 --- a/wcfsetup/install/files/js/WCF.Message.js +++ b/wcfsetup/install/files/js/WCF.Message.js @@ -1801,7 +1801,7 @@ WCF.Message.Quote.Handler = Class.extend({ } else if (document.selection && document.selection.type != "Control") { // IE var $range = document.selection.createRange(); - // TODO: Check coordinates if they're relative too! + $coordinates = { left: $range.boundingLeft, right: $range.boundingRight, @@ -2193,7 +2193,6 @@ WCF.Message.Quote.Manager = Class.extend({ this._dialog.find('input.jsCheckbox').change($.proxy(this._changeButtons, this)); // mark quotes for removal - // TODO: is this still supported? if (this._removeOnSubmit.length) { var self = this; this._dialog.find('input.jsRemoveQuote').each(function(index, input) { diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 1d9ab88692..226b5a0241 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -2361,7 +2361,6 @@ WCF.Date.Picker = { // do the actual replacement // this is not perfect, but a basic implementation and should work in 99% of the cases - // TODO: support literals (magics are escaped in PHP date() by an \, in jQuery UI DatePicker they are enclosed in '') this._dateFormat = WCF.Language.get('wcf.date.dateFormat').replace(/([^dDjlzSFmMnoYyU\\]*(?:\\.[^dDjlzSFmMnoYyU\\]*)*)([dDjlzSFmMnoYyU])/g, function(match, part1, part2, offset, string) { for (var $key in $replacementTable) { if (part2 == $key) { @@ -3101,7 +3100,6 @@ WCF.MultipleLanguageInput = Class.extend({ // close selection and set focus on input element if (this._didInit) { - // this._closeSelection(); todo: still needed? this._element.blur().focus(); } }, -- 2.20.1