mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Added "var" to js variable
This commit is contained in:
parent
bba75aa166
commit
08886f6a1e
@ -365,7 +365,7 @@ function resource_exportation_extension_main() {
|
|||||||
id = $("select#" + type + " option:selected").val();
|
id = $("select#" + type + " option:selected").val();
|
||||||
url = location.href.split('index');
|
url = location.href.split('index');
|
||||||
if (type == "policy") {
|
if (type == "policy") {
|
||||||
include_agents = $("#checkbox-export_agents").prop("checked")
|
var include_agents = $("#checkbox-export_agents").prop("checked")
|
||||||
|
|
||||||
url = url[0] + 'extensions/resource_exportation.php?get_ptr=1&type=' + type
|
url = url[0] + 'extensions/resource_exportation.php?get_ptr=1&type=' + type
|
||||||
+ '&id=' + id + '&include_agents=' + include_agents;
|
+ '&id=' + id + '&include_agents=' + include_agents;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user