CC-3114: Show Content Dialog doesn't display total time
Done
This commit is contained in:
parent
1c9b134748
commit
722306928b
2 changed files with 11 additions and 1 deletions
|
@ -24,4 +24,10 @@
|
||||||
<?php $i=$i+1; ?>
|
<?php $i=$i+1; ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</table>
|
</table>
|
||||||
|
<br/>
|
||||||
|
<div id="show_time_info">
|
||||||
|
<span id="show_time_filled" class="time"><?php echo $this->timeFilled; ?></span>
|
||||||
|
<div id="show_progressbar"></div>
|
||||||
|
<span id="show_length" class="time"><?php echo $this->showLength; ?></span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -219,7 +219,11 @@ function buildContentDialog(json){
|
||||||
alertShowErrorAndReload();
|
alertShowErrorAndReload();
|
||||||
}
|
}
|
||||||
var dialog = $(json.dialog);
|
var dialog = $(json.dialog);
|
||||||
|
|
||||||
|
dialog.find("#show_progressbar").progressbar({
|
||||||
|
value: json.percentFilled
|
||||||
|
});
|
||||||
|
|
||||||
var viewportwidth;
|
var viewportwidth;
|
||||||
var viewportheight;
|
var viewportheight;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue