[DE] fixed radiobox in bookmark settings dialog
This commit is contained in:
parent
eff524bcbf
commit
69e72fce51
|
@ -101,7 +101,6 @@ define([
|
||||||
this.setCaption(this.options.labelText);
|
this.setCaption(this.options.labelText);
|
||||||
|
|
||||||
// handle events
|
// handle events
|
||||||
this.$radio.on('click', _.bind(this.onItemCheck, this));
|
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function () {
|
render: function () {
|
||||||
|
@ -118,12 +117,12 @@ define([
|
||||||
this.$radio = el.find('input[type=radio]');
|
this.$radio = el.find('input[type=radio]');
|
||||||
this.$label = el.find('div.radiobox');
|
this.$label = el.find('div.radiobox');
|
||||||
this.$span = this.$label.find('span');
|
this.$span = this.$label.find('span');
|
||||||
this.$label.on('keydown', this.onKeyDown.bind(this));
|
this.$label.on({
|
||||||
|
'keydown': this.onKeyDown.bind(this),
|
||||||
this.$label.find('svg, span').on('click', function(e) {
|
'click': function(e){
|
||||||
if ( !this.disabled )
|
if ( !this.disabled )
|
||||||
this.setValue(true);
|
this.setValue(true);
|
||||||
}.bind(this));
|
}.bind(this),});
|
||||||
|
|
||||||
this.rendered = true;
|
this.rendered = true;
|
||||||
|
|
||||||
|
|
|
@ -79,8 +79,8 @@ define([
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td class="padding-extra-small">',
|
'<td class="padding-extra-small">',
|
||||||
'<label class="header" style="margin-right: 10px;">', me.textSort,'</label>',
|
'<label class="header" style="margin-right: 10px;">', me.textSort,'</label>',
|
||||||
'<div id="bookmarks-radio-name" style="display: inline-block; margin-right: 10px;"></div>',
|
'<div id="bookmarks-radio-name"></div>',
|
||||||
'<div id="bookmarks-radio-location" style="display: inline-block;"></div>',
|
'<div id="bookmarks-radio-location"></div>',
|
||||||
'</td>',
|
'</td>',
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
|
|
|
@ -85,7 +85,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#id-text-table-spn-fixed {
|
#bookmarks-radio-name {
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 10px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
#id-text-table-spn-fixed, #bookmarks-radio-location {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
Loading…
Reference in a new issue