mirror of https://github.com/tp4a/teleport
修正:SSH和telnet播放界面的“跳过无操作时间”点击后不更新勾选框。
parent
bcaa877187
commit
29b1f8c234
|
@ -113,10 +113,10 @@ $app.on_init = function (cb_stack) {
|
|||
var obj = $('#btn-skip i');
|
||||
if ($app.need_skip) {
|
||||
$app.need_skip = false;
|
||||
obj.removeClass('fa-check-square-o').addClass('fa-square-o');
|
||||
obj.removeClass('fa-check-square').addClass('fa-square');
|
||||
} else {
|
||||
$app.need_skip = true;
|
||||
obj.removeClass('fa-square-o').addClass('fa-check-square-o');
|
||||
obj.removeClass('fa-square').addClass('fa-check-square');
|
||||
}
|
||||
|
||||
// console.log('skip:', $app.need_skip);
|
||||
|
|
|
@ -111,10 +111,10 @@ $app.on_init = function (cb_stack) {
|
|||
var obj = $('#btn-skip i');
|
||||
if ($app.need_skip) {
|
||||
$app.need_skip = false;
|
||||
obj.removeClass('fa-check-square-o').addClass('fa-square-o');
|
||||
obj.removeClass('fa-check-square').addClass('fa-square');
|
||||
} else {
|
||||
$app.need_skip = true;
|
||||
obj.removeClass('fa-square-o').addClass('fa-check-square-o');
|
||||
obj.removeClass('fa-square').addClass('fa-check-square');
|
||||
}
|
||||
|
||||
// console.log('skip:', $app.need_skip);
|
||||
|
|
|
@ -111,10 +111,10 @@ $app.on_init = function (cb_stack) {
|
|||
var obj = $('#btn-skip i');
|
||||
if ($app.need_skip) {
|
||||
$app.need_skip = false;
|
||||
obj.removeClass('fa-check-square-o').addClass('fa-square-o');
|
||||
obj.removeClass('fa-check-square').addClass('fa-square');
|
||||
} else {
|
||||
$app.need_skip = true;
|
||||
obj.removeClass('fa-square-o').addClass('fa-check-square-o');
|
||||
obj.removeClass('fa-square').addClass('fa-check-square');
|
||||
}
|
||||
|
||||
// console.log('skip:', $app.need_skip);
|
||||
|
|
|
@ -20,7 +20,7 @@ $tp.notify_error = function (message_, title_, timeout_) {
|
|||
$tp.notify_success = function (message_, title_) {
|
||||
var _title = title_ || null;
|
||||
if (_title !== null)
|
||||
_title = '<i class="fa fa-check-square fa-fw"></i> ' + _title;
|
||||
_title = '<i class="far fa-check-square fa-fw"></i> ' + _title;
|
||||
$.gritter.add({
|
||||
//sticky:true,
|
||||
class_name: 'gritter-success',
|
||||
|
|
|
@ -69,7 +69,6 @@ class RpcHandler(TPBaseJsonHandler):
|
|||
if x is None:
|
||||
return self.write_json(TPE_NOT_EXISTS)
|
||||
else:
|
||||
print(x)
|
||||
return self.write_json(TPE_OK, data=x)
|
||||
|
||||
def _session_begin(self, param):
|
||||
|
|
|
@ -590,7 +590,7 @@ def cleanup_storage(handler):
|
|||
continue
|
||||
|
||||
if os.path.exists(path_remove):
|
||||
print('remove path', path_remove)
|
||||
# print('remove path', path_remove)
|
||||
try:
|
||||
shutil.rmtree(path_remove)
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue