Skip to content

Commit 9316192

Browse files
committed
Fix for RowClickModal loading
Bootstrap Modal.remote is deprecated.
1 parent c5075c8 commit 9316192

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Build/CommonAssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
//
1616
// You can specify all the values or you can default the Revision and Build Numbers
1717
// by using the '*' as shown below:
18-
[assembly: AssemblyVersion("1.1.2")]
19-
[assembly: AssemblyFileVersion("1.1.2")]
18+
[assembly: AssemblyVersion("1.1.3")]
19+
[assembly: AssemblyFileVersion("1.1.3")]

Griddly/Scripts/griddly.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,11 @@
201201
{
202202
if (this.options.rowClickModal)
203203
{
204-
$(this.options.rowClickModal).removeData("modal").modal({ remote: url });
204+
$(this.options.rowClickModal).removeData("bs.modal").modal({ show: false });
205+
$(".modal-content", this.options.rowClickModal).load($.trim(url), $.proxy(function (event)
206+
{
207+
$(this.options.rowClickModal).modal("show");
208+
}, this));
205209
}
206210
else
207211
{

0 commit comments

Comments
 (0)