Quantcast
Channel: Gurock Software Support Forum
Viewing all articles
Browse latest Browse all 829

[UI Script] Change text input to timespan picker input

$
0
0

I am hoping to be able to change the time elapsed in test case result dialog to a timespan picker,

see Duration Example @ http://jonthornton.github.io/jquery-timepicker/ for an example

I have attempted to implement this code in the UI script as follows:

js:
$(document).ready(
function() {
        $.subscribe('result_dialog.loaded', 'uiscript_require_comment'
        {
           $('#addResultElapsed').timepicker({
                'minTime': '8:00am',
                'maxTime': '11:30pm',
                'showDuration': true
          });
        });

but does not seem to be working - any thoughts? Thanks


Viewing all articles
Browse latest Browse all 829

Trending Articles