mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-31 22:17:33 +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));
|
||||
window.location = document.location;
|
||||
};
|
||||
$('body').on('click', '[id^=\"table-row-folder\"]', function(ev) {
|
||||
attr_id = $(ev.currentTarget).attr('id').split('-')[3];
|
||||
$('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev) {
|
||||
attr_id = $(ev.currentTarget).parent().attr('id').split('-')[3];
|
||||
folderSelected(attr_id, '');
|
||||
$([document.documentElement, document.body]).animate({
|
||||
scrollTop: 200
|
||||
}, 200);
|
||||
});
|
||||
$('body').on('click', '[id^=\"table-row-document\"]', function(ev) {
|
||||
attr_id = $(ev.currentTarget).attr('id').split('-')[3];
|
||||
$('body').on('click', '[id^=\"table-row-document\"] td:nth-child(2)', function(ev) {
|
||||
attr_id = $(ev.currentTarget).parent().attr('id').split('-')[3];
|
||||
window.location = '../out/out.ViewDocument.php?documentid=' + attr_id;
|
||||
});
|
||||
$('body').on('click', '.order-btn', function(ev) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user