mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
UI update
This commit is contained in:
parent
0f7110b0e7
commit
527e4a9a62
139 changed files with 2046 additions and 124 deletions
|
@ -34,18 +34,18 @@
|
|||
if (location.href.search(/list/) != -1) {
|
||||
var shift_select_ref = $('body').finderSelect({children: '.l-unit',
|
||||
'onFinish': function(evt) {
|
||||
var ref = $(evt.target);
|
||||
/*var ref = $(evt.target);
|
||||
$('.l-content').find('.l-unit .ch-toggle').attr('checked', false);
|
||||
$('.l-content').find('.l-unit.selected .ch-toggle').attr('checked', true);
|
||||
|
||||
|
||||
if ($('.l-content').find('.l-unit.selected').length == $('.l-content').find('.l-unit').length) {
|
||||
$('.toggle-all').addClass('clicked-on');
|
||||
}
|
||||
}*/
|
||||
|
||||
},
|
||||
'toggleAllHook': function() {
|
||||
if ($('.l-unit').length == $('.ch-toggle:checked').length) {
|
||||
/*if ($('.l-unit').length == $('.ch-toggle:checked').length) {
|
||||
$('.l-unit.selected').removeClass('selected');
|
||||
$('.ch-toggle').attr('checked', false);
|
||||
$('#toggle-all').attr('checked', false);
|
||||
|
@ -53,7 +53,7 @@
|
|||
else {
|
||||
$('.ch-toggle').attr('checked', true);
|
||||
$('#toggle-all').attr('checked', true);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
});
|
||||
$('table').on('mousedown', 'td', function(e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue