From 266e0b7884dffcab89071ca7ea9119e8ec1bb9fb Mon Sep 17 00:00:00 2001 From: Nate Beaty Date: Thu, 29 Jan 2015 12:21:00 -0600 Subject: [PATCH] =?UTF-8?q?add=20type=3D=E2=80=9Cbutton=E2=80=9D=20to=20di?= =?UTF-8?q?alog=20buttons=20to=20avoid=20the=20default=20behavior=20type?= =?UTF-8?q?=3D=E2=80=9Csubmit=E2=80=9D=20if=20using=20any=20actions=20(cre?= =?UTF-8?q?atelink,=20urlimage)=20that=20have=20dialogs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/MooEditable/MooEditable.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/MooEditable/MooEditable.js b/Source/MooEditable/MooEditable.js index 71c4d37..ab7eb0a 100644 --- a/Source/MooEditable/MooEditable.js +++ b/Source/MooEditable/MooEditable.js @@ -1886,7 +1886,7 @@ MooEditable.UI.AlertDialog = function(alertText){ if (!alertText) return; var html = alertText + '
' - + '' + + '' + '
'; return new MooEditable.UI.Dialog(html, { 'class': 'mooeditable-alert-dialog', @@ -1908,9 +1908,9 @@ MooEditable.UI.PromptDialog = function(questionText, answerText, fn){ if (!questionText) return; var html = ' ' + + ' ' + '
' - + ' ' + + ' ' + '
'; return new MooEditable.UI.Dialog(html, { 'class': 'mooeditable-prompt-dialog',