Skip to content

Commit d918b37

Browse files
committed
Inner handler needs proper this.
1 parent b9f1a88 commit d918b37

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Build/CommonAssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
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.6.4")]
19-
[assembly: AssemblyFileVersion("1.6.4")]
18+
[assembly: AssemblyVersion("1.6.5")]
19+
[assembly: AssemblyFileVersion("1.6.5")]
2020
//[assembly: AssemblyInformationalVersion("1.4.5-editlyalpha2")]

Griddly/Scripts/griddly.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@
14001400
templatedConfirmMessage = templatedConfirmMessage.replace(/\${singular:.*?}/g, "").replace(/\${plural:(.*?)}/g, "$1");;
14011401
}
14021402

1403-
var execute = function ()
1403+
var execute = $.proxy(function ()
14041404
{
14051405
if (button.triggerHandler("beforeExecute") !== false)
14061406
{
@@ -1462,7 +1462,7 @@
14621462
// we do not support eval cause it's insecure
14631463
}
14641464
}
1465-
};
1465+
}, this);
14661466

14671467
if (typeof confirmMessage === "undefined")
14681468
{

0 commit comments

Comments
 (0)