You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by fr...@apache.org on 2016/11/07 19:53:53 UTC

[3/9] incubator-trafficcontrol git commit: revert to prev version

revert to prev version


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/e6d70cea
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/e6d70cea
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/e6d70cea

Branch: refs/heads/master
Commit: e6d70ceae9818f62ea4987f8efa12febe07db3bb
Parents: 4bb1ab9
Author: Dan Kirkwood <da...@gmail.com>
Authored: Mon Nov 7 11:46:24 2016 -0700
Committer: Eric Friedrich <ef...@cisco.com>
Committed: Mon Nov 7 14:48:45 2016 -0500

----------------------------------------------------------------------
 traffic_monitor/experimental/traffic_monitor/sorttable.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e6d70cea/traffic_monitor/experimental/traffic_monitor/sorttable.js
----------------------------------------------------------------------
diff --git a/traffic_monitor/experimental/traffic_monitor/sorttable.js b/traffic_monitor/experimental/traffic_monitor/sorttable.js
index 16833a7..38b0fc6 100644
--- a/traffic_monitor/experimental/traffic_monitor/sorttable.js
+++ b/traffic_monitor/experimental/traffic_monitor/sorttable.js
@@ -169,7 +169,7 @@ sorttable = {
     for (var i=0; i<table.tBodies[0].rows.length; i++) {
       text = sorttable.getInnerText(table.tBodies[0].rows[i].cells[column]);
       if (text != '') {
-        if (text.match(/^-?[\ufffd$\ufffd]?[\d,.]+%?$/)) {
+        if (text.match(/^-?[\ufffd$\ufffd]?[\d,.]+%?$/)) {
           return sorttable.sort_numeric;
         }
         // check for a date: dd/mm/yyyy or dd/mm/yy