summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/ui/navigation.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/install/ui/navigation.js b/install/ui/navigation.js
index 502b0549..deef37dd 100644
--- a/install/ui/navigation.js
+++ b/install/ui/navigation.js
@@ -134,6 +134,11 @@ IPA.navigation = function(spec) {
});
dialog.callback = function() {
+
+ // Some facet's might not call reset before this call but after
+ // so they are still dirty. Calling reset prevent's opening of
+ // dirty dialog again.
+ if (prev_facet.is_dirty()) prev_facet.reset();
$.bbq.pushState(params);
};