mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-28 10:30:42 +00:00
changing folder/document will require a click on the second child of a row
This commit is contained in:
parent
4ac3dc0052
commit
6ae87d4fe0
|
|
@ -163,15 +163,15 @@ console.log("location: " + document.location + ", state: " + JSON.stringify(even
|
||||||
console.log(JSON.stringify(event.state));
|
console.log(JSON.stringify(event.state));
|
||||||
window.location = document.location;
|
window.location = document.location;
|
||||||
};
|
};
|
||||||
$('body').on('click', '[id^=\"table-row-folder\"]', function(ev) {
|
$('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev) {
|
||||||
attr_id = $(ev.currentTarget).attr('id').split('-')[3];
|
attr_id = $(ev.currentTarget).parent().attr('id').split('-')[3];
|
||||||
folderSelected(attr_id, '');
|
folderSelected(attr_id, '');
|
||||||
$([document.documentElement, document.body]).animate({
|
$([document.documentElement, document.body]).animate({
|
||||||
scrollTop: 200
|
scrollTop: 200
|
||||||
}, 200);
|
}, 200);
|
||||||
});
|
});
|
||||||
$('body').on('click', '[id^=\"table-row-document\"]', function(ev) {
|
$('body').on('click', '[id^=\"table-row-document\"] td:nth-child(2)', function(ev) {
|
||||||
attr_id = $(ev.currentTarget).attr('id').split('-')[3];
|
attr_id = $(ev.currentTarget).parent().attr('id').split('-')[3];
|
||||||
window.location = '../out/out.ViewDocument.php?documentid=' + attr_id;
|
window.location = '../out/out.ViewDocument.php?documentid=' + attr_id;
|
||||||
});
|
});
|
||||||
$('body').on('click', '.order-btn', function(ev) {
|
$('body').on('click', '.order-btn', function(ev) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user