Revision 685108d7
Von Sven Schöling vor etwa 10 Jahren hinzugefügt
js/kivi.CustomerVendor.js | ||
---|---|---|
215 | 215 |
|
216 | 216 |
return true; |
217 | 217 |
}; |
218 |
|
|
219 |
this.inline_report = function(target, source, data){ |
|
220 |
$.ajax({ |
|
221 |
url: source, |
|
222 |
success: function (rsp) { |
|
223 |
$(target).html(rsp); |
|
224 |
$(target).find('.paginate').find('a').click(function(event){ ns.redirect_event(event, target) }); |
|
225 |
$(target).find('a.report-generator-header-link').click(function(event){ ns.redirect_event(event, target) }); |
|
226 |
}, |
|
227 |
data: data, |
|
228 |
}); |
|
229 |
}; |
|
230 |
this.redirect_event = function(event, target){ |
|
231 |
event.preventDefault(); |
|
232 |
ns.inline_report(target, event.target + '', {}); |
|
233 |
}; |
|
218 | 234 |
}); |
219 | 235 |
|
220 | 236 |
function local_reinit_widgets() { |
Auch abrufbar als: Unified diff
PriceRule: Kontextinfo in Kunden