HBASE-25367 Sort broken after Change 'State time' in UI (#2964)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
(cherry picked from commit 5d9a6ed1fe
)
This commit is contained in:
parent
824e7a46a2
commit
5b92554906
|
@ -411,6 +411,7 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
|
|||
|
||||
<script src="/static/js/jquery.min.js" type="text/javascript"></script>
|
||||
<script src="/static/js/jquery.tablesorter.min.js" type="text/javascript"></script>
|
||||
<script src="/static/js/parser-date-iso8601.min.js" type="text/javascript"></script>
|
||||
<script src="/static/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
<script src="/static/js/tab.js" type="text/javascript"></script>
|
||||
<script src="/static/js/jqSpager.js" type="text/javascript"></script>
|
||||
|
|
4
hbase-server/src/main/resources/hbase-webapps/static/js/parser-date-iso8601.min.js
vendored
Normal file
4
hbase-server/src/main/resources/hbase-webapps/static/js/parser-date-iso8601.min.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: ISO-8601 date - updated 10/26/2014 (v2.18.0) */
|
||||
!function(e){"use strict";var s=/^([0-9]{4})(-([0-9]{2})(-([0-9]{2})(T([0-9]{2}):([0-9]{2})(:([0-9]{2})(\.([0-9]+))?)?(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?$/;e.tablesorter.addParser({id:"iso8601date",is:function(e){return!!e&&e.match(s)},format:function(e){var t=e?e.match(s):e;if(t){var r=new Date(t[1],0,1);return t[3]&&r.setMonth(t[3]-1),t[5]&&r.setDate(t[5]),t[7]&&r.setHours(t[7]),t[8]&&r.setMinutes(t[8]),t[10]&&r.setSeconds(t[10]),t[12]&&r.setMilliseconds(1e3*Number("0."+t[12])),r.getTime()}return e},type:"numeric"})}(jQuery);return jQuery;}));
|
1
pom.xml
1
pom.xml
|
@ -738,6 +738,7 @@
|
|||
<!-- MIT https://jquery.org/license -->
|
||||
<exclude>**/jquery.min.js</exclude>
|
||||
<exclude>**/jquery.tablesorter.min.js</exclude>
|
||||
<exclude>**/parser-date-iso8601.min.js</exclude>
|
||||
<!-- MIT: bootstrap -->
|
||||
<exclude>**/src/main/resources/hbase-webapps/static/*/bootstrap*</exclude>
|
||||
<!-- vector graphics -->
|
||||
|
|
Loading…
Reference in New Issue