From 752dc3503d73fd918a31ff764903a4a1d563ee44 Mon Sep 17 00:00:00 2001 From: smartinkc Date: Fri, 17 Aug 2018 09:43:43 -0500 Subject: [PATCH] stop action --- config.json | 14 -------------- js/multilingual_survey.js | 6 ++---- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/config.json b/config.json index 9ffc2a1..83de099 100644 --- a/config.json +++ b/config.json @@ -92,13 +92,6 @@ "type": "text", "repeatable": false }, - { - "key": "stop-text-title", - "name": "Title", - "required": false, - "type": "text", - "repeatable": false - }, { "key": "stop-text-body", "name": "Body", @@ -120,13 +113,6 @@ "type": "text", "repeatable": false }, - { - "key": "stop-text-return-title", - "name": "Return Title", - "required": false, - "type": "text", - "repeatable": false - }, { "key": "stop-text-return-body", "name": "Return Body", diff --git a/js/multilingual_survey.js b/js/multilingual_survey.js index 59798bf..4cd98d9 100644 --- a/js/multilingual_survey.js +++ b/js/multilingual_survey.js @@ -248,8 +248,7 @@ if(langKey > -1){ //title - $('#stopActionPrompt').attr('title', settings['stop-text-title']['value'][langKey]); - $('#ui-id-1').html(settings['stop-text-title']['value'][langKey]); + $('#stopActionPrompt').attr('title', 'Page'); //body $('#stopActionPrompt').html(settings['stop-text-body']['value'][langKey]); @@ -262,8 +261,7 @@ stopAction3 = settings['stop-text-continue-button']['value'][langKey]; //return - $('#stopActionReturn').attr('title', settings['stop-text-return-title']['value'][langKey]); - $('#ui-id-2').html(settings['stop-text-return-title']['value'][langKey]); + $('#stopActionReturn').attr('title', 'Page'); $('#stopActionReturn').html(settings['stop-text-return-body']['value'][langKey]); } }