Skip to content

Commit b9f1a88

Browse files
committed
Allow confirm modal to be overridden
1 parent 3dc3acc commit b9f1a88

File tree

4 files changed

+98
-60
lines changed

4 files changed

+98
-60
lines changed

Build/CommonAssemblyInfo.cs

+2-2
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.3")]
19-
[assembly: AssemblyFileVersion("1.6.3")]
18+
[assembly: AssemblyVersion("1.6.4")]
19+
[assembly: AssemblyFileVersion("1.6.4")]
2020
//[assembly: AssemblyInformationalVersion("1.4.5-editlyalpha2")]

Griddly.Mvc/GriddlyButton.cs

+5
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ public GriddlyButton(string additionalClassName = null)
3737
public string ConfirmMessage { get; set; }
3838
public bool AlignRight { get; set; }
3939

40+
/// <summary>
41+
/// A function name to use to show the confirm message. Takes two parameters, message and callback. Callback is a function to call to continue the button click if the confirm was accepted.
42+
/// </summary>
43+
public string ConfirmPromptFunction { get; set; }
44+
4045
/// <summary>
4146
/// The row ids to include in the button action (default uses grid default)
4247
/// </summary>

0 commit comments

Comments
 (0)