Skip to content

Commit 9d17acb

Browse files
committed
Trim urls for modal loading and always post filters
1 parent a0c2701 commit 9d17acb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Griddly/Scripts/griddly.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
if (this.options.rowClickModal)
332332
{
333333
$(this.options.rowClickModal).removeData("bs.modal").modal({ show: false });
334-
$(".modal-content", this.options.rowClickModal).load(url, $.proxy(function (event)
334+
$(".modal-content", this.options.rowClickModal).load($.trim(url), $.proxy(function (event)
335335
{
336336
$(this.options.rowClickModal).modal("show");
337337
}, this));
@@ -1181,6 +1181,7 @@
11811181

11821182
$.ajax(this.options.url,
11831183
{
1184+
type: "post",
11841185
data: postData,
11851186
traditional: true,
11861187
cache: false

0 commit comments

Comments
 (0)