Skip to content

Commit ffdca01

Browse files
committed
apijson-table: fix @ROLE in apijson-delete
1 parent 65d9b84 commit ffdca01

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

uliweb_apijson/apijson/templates/vue/inc_apijson_table.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,9 +384,13 @@
384384
var params = {
385385
"@tag": thisp.l_request_tag
386386
}
387-
params[thisp.l_request_tag] = {
387+
var model_params = {
388388
"id": thisp.delete_params.row.id
389389
}
390+
if (thisp.role!="") {
391+
model_params["@role"] = thisp.role
392+
}
393+
params[thisp.l_request_tag] = model_params
390394
params = thisp.ajax_hook("apijson_delete","delete",params)
391395
$.ajax({
392396
type: "POST",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy