Skip to content

Commit

Permalink
stop action
Browse files Browse the repository at this point in the history
  • Loading branch information
smartinkc committed Aug 17, 2018
1 parent 8ed9957 commit 752dc35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
14 changes: 0 additions & 14 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
6 changes: 2 additions & 4 deletions js/multilingual_survey.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', '<img alt="Page" src="APP_PATH_IMAGESexclamation_frame.png">');

//body
$('#stopActionPrompt').html(settings['stop-text-body']['value'][langKey]);
Expand All @@ -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', '<img alt="Page" src="APP_PATH_IMAGESexclamation_frame.png">');
$('#stopActionReturn').html(settings['stop-text-return-body']['value'][langKey]);
}
}
Expand Down

0 comments on commit 752dc35

Please sign in to comment.