Fix federation-menu Javascript to use h3
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
ba17caaec0
commit
26e952f3f2
|
@ -62,7 +62,7 @@
|
||||||
render: function() {
|
render: function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
_.each(this._inputFields, function(field) {
|
_.each(this._inputFields, function(field) {
|
||||||
var $icon = self.$('#' + field + 'form h2 > .federation-menu');
|
var $icon = self.$('#' + field + 'form h3 > .federation-menu');
|
||||||
var scopeMenu = new OC.Settings.FederationScopeMenu({field: field});
|
var scopeMenu = new OC.Settings.FederationScopeMenu({field: field});
|
||||||
|
|
||||||
self.listenTo(scopeMenu, 'select:scope', function(scope) {
|
self.listenTo(scopeMenu, 'select:scope', function(scope) {
|
||||||
|
@ -189,8 +189,8 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
_setFieldScopeIcon: function(field, scope) {
|
_setFieldScopeIcon: function(field, scope) {
|
||||||
var $icon = this.$('#' + field + 'form > h2 .icon-federation-menu');
|
var $icon = this.$('#' + field + 'form > h3 .icon-federation-menu');
|
||||||
|
|
||||||
$icon.removeClass('icon-password');
|
$icon.removeClass('icon-password');
|
||||||
$icon.removeClass('icon-contacts-dark');
|
$icon.removeClass('icon-contacts-dark');
|
||||||
$icon.removeClass('icon-link');
|
$icon.removeClass('icon-link');
|
||||||
|
|
Loading…
Reference in New Issue