From edef9632875bdbdff8d624b48cacae176dd96b68 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 16 Oct 2024 13:22:49 +0300 Subject: [PATCH] update page on input request --- src/app/browser/window/tab/item/page.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/page.rs b/src/app/browser/window/tab/item/page.rs index 8c99d72e..5e80b774 100644 --- a/src/app/browser/window/tab/item/page.rs +++ b/src/app/browser/window/tab/item/page.rs @@ -286,6 +286,9 @@ impl Page { meta.borrow_mut().status = Some(status); meta.borrow_mut().description = Some(description); meta.borrow_mut().title = Some(title); + + // Update page + action_update.activate(Some(&id)); }, None => todo!(), } @@ -576,7 +579,7 @@ impl Page { Some(Status::Connect) => Some(0.25), Some(Status::Request) => Some(0.50), Some(Status::Response) => Some(0.75), - Some(Status::Failure | Status::Redirect | Status::Success) => Some(1.0), + Some(Status::Failure | Status::Redirect | Status::Success | Status::Input) => Some(1.0), _ => None, } }