]> granicus.if.org Git - transmission/commitdiff
(trunk web) #5380 'numeric input method not compatible with non-querty keyboards...
authorJordan Lee <jordan@transmissionbt.com>
Sun, 9 Jun 2013 19:41:51 +0000 (19:41 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Sun, 9 Jun 2013 19:41:51 +0000 (19:41 +0000)
web/index.html
web/javascript/transmission.js

index fc66dd13c74043b007a367141647bd63a74bd9a2..6483c1691a1175641f1bfba070e24163301d39ab 100755 (executable)
                                        <div class="prefs-section">
                                                <div class="title">Seeding</div>
                                                <div class="row"><div class="key"><input type="checkbox" id="seedRatioLimited"/><label for="seedRatioLimited">Stop seeding at ratio:</label></div>
-                                                                 <div class="value"><input type="text" class="numberinput" id="seedRatioLimit"/></div></div>
+                                                                 <div class="value"><input type="text" type="number" id="seedRatioLimit"/></div></div>
                                                <div class="row"><div class="key"><input type="checkbox" id="idle-seeding-limit-enabled"/><label for="idle-seeding-limit-enabled">Stop seeding if idle for (min):</label></div>
-                                                                 <div class="value"><input type="text" class="numberinput" id="idle-seeding-limit"/></div></div>
+                                                                 <div class="value"><input type="text" type="number" id="idle-seeding-limit"/></div></div>
                                        </div>
                                </div>
                                <div id="prefs-page-speed">
                                        <div class="prefs-section">
                                                <div class="title">Speed Limits</div>
                                                <div class="row"><div class="key"><input type="checkbox" id="speed-limit-up-enabled"/><label for="speed-limit-up-enabled">Upload (kB/s):</label></div>
-                                                                 <div class="value"><input type="text" class="numberinput" id="speed-limit-up"/></div></div>
+                                                                 <div class="value"><input type="text" type="number" id="speed-limit-up"/></div></div>
                                                <div class="row"><div class="key"><input type="checkbox" id="speed-limit-down-enabled"/><label for="speed-limit-down-enabled">Download (kB/s):</label></div>
-                                                                 <div class="value"><input type="text" class="numberinput" id="speed-limit-down"/></div></div>
+                                                                 <div class="value"><input type="text" type="number" id="speed-limit-down"/></div></div>
                                        </div>
                                        <div class="prefs-section">
                                                <div class="title"><div id="alternative-speed-limits-title">Alternative Speed Limits</div></div>
                                                <div class="row" style="font-size: smaller; padding-bottom: 4px;">Override normal speed limits manually or at scheduled times</div>
                                                <div class="row"><div class="key">Upload (kB/s):</div>
-                                                                 <div class="value"><input type="text" class="numberinput" id="alt-speed-up"/></div></div>
+                                                                 <div class="value"><input type="text" type="number" id="alt-speed-up"/></div></div>
                                                <div class="row"><div class="key">Download (kB/s):</div>
-                                                                 <div class="value"><input type="text" class="numberinput" id="alt-speed-down"/></div></div>
+                                                                 <div class="value"><input type="text" type="number" id="alt-speed-down"/></div></div>
                                                <div class="checkbox-row"><input type="checkbox" id="alt-speed-time-enabled"/><label for="alt-speed-time-enabled">Scheduled Times</label></div>
                                                <div class="row"><div class="key">From:</div>
                                                                 <div class="value"><select id="alt-speed-time-begin"></select></div></div>
                                        <div class="prefs-section">
                                                <div class="title">Connections</div>
                                                <div class="row"><div class="key"><label for="peer-limit-per-torrent">Max peers per torrent:</label></div>
-                                                                <div class="value"><input type="text" class="numberinput" id="peer-limit-per-torrent"/></div></div>
+                                                                <div class="value"><input type="text" type="number" id="peer-limit-per-torrent"/></div></div>
                                                <div class="row"><div class="key"><label for="peer-limit-global">Max peers overall:</label></div>
-                                                                <div class="value"><input type="text" class="numberinput" id="peer-limit-global"/></div></div>
+                                                                <div class="value"><input type="text" type="number" id="peer-limit-global"/></div></div>
                                        </div>
                                        <div class="prefs-section">
                                                <div class="title">Options</div>
                                        <div class="prefs-section">
                                                <div class="title">Listening Port</div>
                                                <div class="row"><div class="key"><label for="peer-port">Peer listening port:</label></div>
-                                                                <div class="value"><input type="text" class="numberinput" id="peer-port"/></div></div>
+                                                                <div class="value"><input type="text" type="number" id="peer-port"/></div></div>
                                                <div class="row"><div class="key">&nbsp;</div>
                                                                 <div class="value"><span id="port-label">Status: Unknown</span></div></div>
                                                <div class="checkbox-row"><input type="checkbox" id="peer-port-random-on-start"/><label for="peer-port-random-on-start">Randomize port on launch</label></div>
index 75013c02cbc0bc8653807f815f1c788326c286e2..29dcce0cc64623d5c7fc4f161cb8ee4c096cb832 100644 (file)
@@ -41,7 +41,6 @@ Transmission.prototype =
                Prefs.getClutchPrefs(this);
 
                // Set up user events
-               $(".numberinput").forceNumeric();
                $('#toolbar-pause').click($.proxy(this.stopSelectedClicked,this));
                $('#toolbar-start').click($.proxy(this.startSelectedClicked,this));
                $('#toolbar-pause-all').click($.proxy(this.stopAllClicked,this));