Content-Length: 265414 | pFad | http://github.com/APIJSON/APIJSON-Python/commit/ffdca01cdc5983aab174dffe72c9fc6d81b69527

18 apijson-table: fix @role in apijson-delete · APIJSON/APIJSON-Python@ffdca01 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/APIJSON/APIJSON-Python/commit/ffdca01cdc5983aab174dffe72c9fc6d81b69527

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy