mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-29 20:32:44 +08:00
fix shareCenter
This commit is contained in:
parent
b463dcebde
commit
ff250bd1c4
@ -1216,8 +1216,10 @@
|
|||||||
qc.fromShare = true
|
qc.fromShare = true
|
||||||
$('#options').show()
|
$('#options').show()
|
||||||
editCurrentCommand(qc)
|
editCurrentCommand(qc)
|
||||||
|
$('#customize').data('returnShare', true)
|
||||||
} else {
|
} else {
|
||||||
$('#options').show()
|
$('#options').show()
|
||||||
|
$('#customize').removeData('returnShare')
|
||||||
}
|
}
|
||||||
utools.setExpendHeight(600)
|
utools.setExpendHeight(600)
|
||||||
}
|
}
|
||||||
@ -1374,7 +1376,7 @@
|
|||||||
putDB(code, pushData, 'customFts');
|
putDB(code, pushData, 'customFts');
|
||||||
$("#customize").animate({ top: '100%' }, () => {
|
$("#customize").animate({ top: '100%' }, () => {
|
||||||
$("#customize").empty()
|
$("#customize").empty()
|
||||||
if (extraInfo && extraInfo.fromShare) {
|
if ($('#customize').data('returnShare')) {
|
||||||
getSharedQCFromYuQue()
|
getSharedQCFromYuQue()
|
||||||
} else {
|
} else {
|
||||||
// 保存后标签跳转处理
|
// 保存后标签跳转处理
|
||||||
@ -1503,8 +1505,7 @@
|
|||||||
if ($("#customize").is(":parent") && $("#featureList").is(":parent")) {
|
if ($("#customize").is(":parent") && $("#featureList").is(":parent")) {
|
||||||
$("#customize").animate({ top: '100%' });
|
$("#customize").animate({ top: '100%' });
|
||||||
$("#customize").empty()
|
$("#customize").empty()
|
||||||
var extraInfo = $('#customize').data('extraInfo')
|
if ($('#customize').data('returnShare')) getSharedQCFromYuQue()
|
||||||
if (extraInfo && extraInfo.fromShare) getSharedQCFromYuQue()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user