From: erickson Date: Mon, 2 Mar 2009 16:50:21 +0000 (+0000) Subject: moved html tags out of text strings X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=544dec2676953be161d069a130bef1b0e5c5448b;p=evergreen%2Ftadl.git moved html tags out of text strings git-svn-id: svn://svn.open-ils.org/ILS/trunk@12351 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/dojo/openils/conify/nls/conify.js b/Open-ILS/web/js/dojo/openils/conify/nls/conify.js index 5896fbdf3f..35ef30aca6 100644 --- a/Open-ILS/web/js/dojo/openils/conify/nls/conify.js +++ b/Open-ILS/web/js/dojo/openils/conify/nls/conify.js @@ -83,7 +83,7 @@ "SURVEY_ADD_ANSWER": "Add Answer", "SURVEY_ANSWER": "Answer:", "SURVEY_QUESTION": "Question:", - "SURVEY_ID": "

Survey ID # ${0}

", - "SURVEY_FOOT_LABEL": "

Questions & Answers

" + "SURVEY_ID": "Survey ID # ${0}", + "SURVEY_FOOT_LABEL": "Questions & Answers" } diff --git a/Open-ILS/web/js/ui/default/conify/global/action/survey/edit.js b/Open-ILS/web/js/ui/default/conify/global/action/survey/edit.js index 2eea06c402..2b78e9e3e0 100644 --- a/Open-ILS/web/js/ui/default/conify/global/action/survey/edit.js +++ b/Open-ILS/web/js/ui/default/conify/global/action/survey/edit.js @@ -25,7 +25,7 @@ function drawSurvey(svyId) { var surveyTable = dojo.byId('edit-pane'); var surveyHead = dojo.create('thead', {style: "background-color: #99CCFF"}, surveyTable); var headRow = dojo.create('tr', null, surveyHead); - var headCell = dojo.create('td', {innerHTML: dojo.string.substitute(localeStrings.SURVEY_ID, [svyId]), style: "width: 100%"}, headRow); + var headCell = dojo.create('td', {innerHTML: "

" +dojo.string.substitute(localeStrings.SURVEY_ID, [svyId])+"

", style: "width: 100%"}, headRow); var pcrud = new openils.PermaCrud(); var survey = pcrud.retrieve('asv', svyId); startDate = dojo.date.stamp.fromISOString(survey.start_date()); @@ -40,7 +40,7 @@ function drawSurvey(svyId) { pane.startup(); var surveyFoot = dojo.create('tfoot', {style: "background-color: #99CCFF"}, surveyTable); var footRow = dojo.create('tr', { style: "width: 100%"}, surveyFoot); - var footLabel = dojo.create('td', {innerHTML: localeStrings.SURVEY_FOOT_LABEL, style: "width: 100%"}, footRow); + var footLabel = dojo.create('td', {innerHTML: "

"+localeStrings.SURVEY_FOOT_LABEL+"

", style: "width: 100%"}, footRow); var footCell = dojo.create('td', {innerHTML: "
", style: "width: 100%"}, footRow); getQuestions(svyId, survey);