diff --git a/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json b/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json index 9bc69e84d1..c43fd8f6e2 100644 --- a/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json +++ b/dashboard-ui/bower_components/iron-a11y-keys-behavior/.bower.json @@ -30,14 +30,14 @@ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "ignore": [], - "homepage": "https://github.com/polymerelements/iron-a11y-keys-behavior", + "homepage": "https://github.com/PolymerElements/iron-a11y-keys-behavior", "_release": "1.1.0", "_resolution": { "type": "version", "tag": "v1.1.0", "commit": "cd8c972278c0d916bef57209d7dce5b81e67687c" }, - "_source": "git://github.com/polymerelements/iron-a11y-keys-behavior.git", + "_source": "git://github.com/PolymerElements/iron-a11y-keys-behavior.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-a11y-keys-behavior" + "_originalSource": "PolymerElements/iron-a11y-keys-behavior" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-selector/.bower.json b/dashboard-ui/bower_components/iron-selector/.bower.json index ebb18c5b7b..52d44c1907 100644 --- a/dashboard-ui/bower_components/iron-selector/.bower.json +++ b/dashboard-ui/bower_components/iron-selector/.bower.json @@ -36,7 +36,7 @@ "tag": "v1.0.8", "commit": "e9a66727f3da0446f04956d4e4f1dcd51cdec2ff" }, - "_source": "git://github.com/polymerelements/iron-selector.git", + "_source": "git://github.com/PolymerElements/iron-selector.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-selector" + "_originalSource": "PolymerElements/iron-selector" } \ No newline at end of file diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 1ada0594cb..883f6ae8ff 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -2909,20 +2909,27 @@ PaperDialogHelper.openWithHash(dlg, 'sortmenu'); $('.groupSortBy', dlg).on('iron-select', function () { - options.query.SortBy = this.selected.replace('_', ','); + + var newValue = this.selected.replace('_', ','); + var changed = options.query.SortBy != newValue; + + options.query.SortBy = newValue; options.query.StartIndex = 0; - if (options.callback) { + if (options.callback && changed) { options.callback(); } }); $('.groupSortOrder', dlg).on('iron-select', function () { - options.query.SortOrder = this.selected; + var newValue = this.selected; + var changed = options.query.SortOrder != newValue; + + options.query.SortOrder = newValue; options.query.StartIndex = 0; - if (options.callback) { + if (options.callback && changed) { options.callback(); } }); diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 1d51303d2b..f0abc867e2 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -2204,7 +2204,7 @@ var AppInfo = {}; } } - postInitDependencies.push('components/testermessage'); + //postInitDependencies.push('components/testermessage'); } else if (browserInfo.chrome) { postInitDependencies.push('scripts/chromecast');