summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/less/widgets.less2
-rw-r--r--install/ui/src/freeipa/widgets/LoginScreen.js8
2 files changed, 8 insertions, 2 deletions
diff --git a/install/ui/less/widgets.less b/install/ui/less/widgets.less
index c21a163a1..7876307f1 100644
--- a/install/ui/less/widgets.less
+++ b/install/ui/less/widgets.less
@@ -4,7 +4,7 @@
.global-activity-indicator {
- bottom: initial;
+ bottom: auto;
height: auto;
background-color: rgba(0, 0, 0, 0.3);
color: white;
diff --git a/install/ui/src/freeipa/widgets/LoginScreen.js b/install/ui/src/freeipa/widgets/LoginScreen.js
index 3e0986435..e7e1b029e 100644
--- a/install/ui/src/freeipa/widgets/LoginScreen.js
+++ b/install/ui/src/freeipa/widgets/LoginScreen.js
@@ -231,7 +231,13 @@ define(['dojo/_base/declare',
refresh: function() {
if (this.buttons_node) {
- this.buttons_node.innerHTML = "";
+ // detach button nodes politely
+ // hard methods like `innerHTML=''` might have undesired
+ // consequences, e.g., removal of children's content in IE
+ var bn = this.buttons_node;
+ while (bn.firstChild) {
+ bn.removeChild(bn.firstChild);
+ }
}
if (this.view === 'reset') {
this.show_reset_view();