mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-31 14:07:16 +00:00
data-base attribute can be added to <div class"ajax">
This commit is contained in:
parent
23c53d112d
commit
9927d76b9d
|
@ -399,10 +399,13 @@ $(document).ready( function() {
|
|||
var element = $(this);
|
||||
var url = '';
|
||||
var href = element.data('href');
|
||||
var base = element.data('base');
|
||||
if(typeof base == 'undefined')
|
||||
base = '';
|
||||
var view = element.data('view');
|
||||
var action = element.data('action');
|
||||
if(view && action)
|
||||
url = "out."+view+".php?action="+action;
|
||||
url = seeddms_webroot+base+"out/out."+view+".php?action="+action;
|
||||
else
|
||||
url = href;
|
||||
if(typeof param1 === 'object') {
|
||||
|
|
Loading…
Reference in New Issue
Block a user