From 30f68bdf9810be04e580d8e1eac2e01838260946 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 28 Nov 2015 16:35:47 -0500 Subject: [PATCH] fix modal dialog --- dashboard-ui/bower_components/doc-ready/.bower.json | 2 +- .../bower_components/get-style-property/.bower.json | 2 +- dashboard-ui/bower_components/paper-ripple/.bower.json | 6 +++--- dashboard-ui/scripts/site.js | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dashboard-ui/bower_components/doc-ready/.bower.json b/dashboard-ui/bower_components/doc-ready/.bower.json index d4d75eca6..adda4287b 100644 --- a/dashboard-ui/bower_components/doc-ready/.bower.json +++ b/dashboard-ui/bower_components/doc-ready/.bower.json @@ -39,6 +39,6 @@ "commit": "cec8e49744a1e18b14a711eea77e201bb70de544" }, "_source": "git://github.com/desandro/doc-ready.git", - "_target": "~1.0.4", + "_target": "1.0.x", "_originalSource": "doc-ready" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/get-style-property/.bower.json b/dashboard-ui/bower_components/get-style-property/.bower.json index d943fa3b0..973f1966c 100644 --- a/dashboard-ui/bower_components/get-style-property/.bower.json +++ b/dashboard-ui/bower_components/get-style-property/.bower.json @@ -31,6 +31,6 @@ "commit": "34fc5e4a0f252964ed2790138b8d7d30d04b55c1" }, "_source": "git://github.com/desandro/get-style-property.git", - "_target": "~1.0.4", + "_target": "1.x", "_originalSource": "get-style-property" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/paper-ripple/.bower.json b/dashboard-ui/bower_components/paper-ripple/.bower.json index 2f654d71c..157225ee7 100644 --- a/dashboard-ui/bower_components/paper-ripple/.bower.json +++ b/dashboard-ui/bower_components/paper-ripple/.bower.json @@ -32,14 +32,14 @@ "iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0" }, "ignore": [], - "homepage": "https://github.com/polymerelements/paper-ripple", + "homepage": "https://github.com/PolymerElements/paper-ripple", "_release": "1.0.5", "_resolution": { "type": "version", "tag": "v1.0.5", "commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5" }, - "_source": "git://github.com/polymerelements/paper-ripple.git", + "_source": "git://github.com/PolymerElements/paper-ripple.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/paper-ripple" + "_originalSource": "PolymerElements/paper-ripple" } \ No newline at end of file diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 8b60c5d1e..2fc589960 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -485,7 +485,7 @@ var Dashboard = { elem = document.createElement('modalLoading'); elem.classList.add('modalLoading'); - elem.style.display = 'none'; + elem.classList.add('hide'); document.body.appendChild(elem); } @@ -494,12 +494,12 @@ var Dashboard = { }, showModalLoadingMsg: function () { - Dashboard.getModalLoadingMsg().show(); + Dashboard.getModalLoadingMsg().classList.remove('hide'); Dashboard.showLoadingMsg(); }, hideModalLoadingMsg: function () { - Dashboard.getModalLoadingMsg().hide(); + Dashboard.getModalLoadingMsg().classList.add('hide'); Dashboard.hideLoadingMsg(); },