mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-01 12:42:07 +01:00
Update content of files
This commit is contained in:
parent
3ea130fd37
commit
feb40e49b9
1 changed files with 6 additions and 2 deletions
|
@ -1048,7 +1048,9 @@ var Assets = {
|
||||||
username: username,
|
username: username,
|
||||||
auction: true
|
auction: true
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
if (result.confirm_message) {
|
if (result.error) {
|
||||||
|
return showAlert(result.error);
|
||||||
|
} else if (result.confirm_message) {
|
||||||
showConfirm(result.confirm_message, function() {
|
showConfirm(result.confirm_message, function() {
|
||||||
doPutToAuction();
|
doPutToAuction();
|
||||||
}, result.confirm_button);
|
}, result.confirm_button);
|
||||||
|
@ -1148,7 +1150,9 @@ var Assets = {
|
||||||
username: username,
|
username: username,
|
||||||
auction: false
|
auction: false
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
if (result.confirm_message) {
|
if (result.error) {
|
||||||
|
return showAlert(result.error);
|
||||||
|
} else if (result.confirm_message) {
|
||||||
showConfirm(result.confirm_message, function() {
|
showConfirm(result.confirm_message, function() {
|
||||||
doSellUsername();
|
doSellUsername();
|
||||||
}, result.confirm_button);
|
}, result.confirm_button);
|
||||||
|
|
Loading…
Reference in a new issue