Removed old TODOs
authorAlexander Ebert <ebert@woltlab.com>
Tue, 21 May 2013 14:29:18 +0000 (16:29 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 21 May 2013 14:29:18 +0000 (16:29 +0200)
wcfsetup/install/files/js/WCF.Message.js
wcfsetup/install/files/js/WCF.js

index 29bd943920b4fb76acc1a3e226ae9cae22bf1561..6a937d391957a78d18300de95f30efd6418bc762 100644 (file)
@@ -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) {
index 1d9ab886921fd9f94ab90c1c97b454b313703130..226b5a0241db410dd94ef88edb0b6bb6de0c7d5a 100755 (executable)
@@ -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();
                }
        },