diff options
-rw-r--r-- | src/ui/documentwidget.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index fdb55232..93604225 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -4069,14 +4069,12 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) | |||
4069 | return iTrue; | 4069 | return iTrue; |
4070 | } | 4070 | } |
4071 | else if (equal_Command(cmd, "valueinput.cancelled") && | 4071 | else if (equal_Command(cmd, "valueinput.cancelled") && |
4072 | equal_Rangecc(range_Command(cmd, "id"), "document.input.submit") && document_App() == d) { | 4072 | equal_Rangecc(range_Command(cmd, "id"), "!document.input.submit") && document_App() == d) { |
4073 | postCommand_Root(get_Root(), "navigate.back"); | 4073 | postCommand_Root(get_Root(), "navigate.back"); |
4074 | return iTrue; | 4074 | return iTrue; |
4075 | } | 4075 | } |
4076 | else if (equalWidget_Command(cmd, w, "document.request.updated") && | 4076 | else if (equalWidget_Command(cmd, w, "document.request.updated") && |
4077 | id_GmRequest(d->request) == argU32Label_Command(cmd, "reqid")) { | 4077 | id_GmRequest(d->request) == argU32Label_Command(cmd, "reqid")) { |
4078 | // set_Block(&d->sourceContent, &lockResponse_GmRequest(d->request)->body); | ||
4079 | // unlockResponse_GmRequest(d->request); | ||
4080 | if (document_App() == d) { | 4078 | if (document_App() == d) { |
4081 | updateFetchProgress_DocumentWidget_(d); | 4079 | updateFetchProgress_DocumentWidget_(d); |
4082 | } | 4080 | } |