Skip to content

Commit

Permalink
Fix for line break issue discussed offline. Added <p> tags either sid…
Browse files Browse the repository at this point in the history
…e of the call to x_addLineBreaks rather than within x_addLineBreaks.
  • Loading branch information
ronm123 committed Jul 13, 2015
1 parent 89f3450 commit 4a125ee
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
}
$thisHeader.find("a").html(this.getAttribute("name"));

var infoString = x_addLineBreaks('<p>' + this.getAttribute("text") + '</p>'),
var infoString = '<p>' + x_addLineBreaks(this.getAttribute("text")) + '</p>',
url = this.getAttribute("url");

if (url != undefined && url != "") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
$thisColumn = $column;
}

var infoString = x_addLineBreaks('<p>' + this.getAttribute("text") + '</p>'),
var infoString = '<p>' + x_addLineBreaks(this.getAttribute("text")) + '</p>',
url = this.getAttribute("url");
if (url != undefined && url != "") {
var newString = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
}


var promptString = x_addLineBreaks('<p>' + x_currentPageXML.getAttribute("prompt") + '</p>'),
var promptString = '<p>' + x_addLineBreaks(x_currentPageXML.getAttribute("prompt") )+ '</p>',
url = x_currentPageXML.getAttribute("image");
if (url != undefined && url != "") {
if (url.split('.').pop().slice(0, -1) == "swf") {
Expand Down Expand Up @@ -146,7 +146,7 @@
}


var feedbackString = x_addLineBreaks('<p>' + x_currentPageXML.getAttribute("feedback") + '</p>'),
var feedbackString = '<p>' + x_addLineBreaks(x_currentPageXML.getAttribute("feedback"))+ '</p>',
copyTxt = x_currentPageXML.getAttribute("copypasteinfo2"),
copyTxtFlash = x_currentPageXML.getAttribute("copypasteinfo"),
copyBtnLabel = x_currentPageXML.getAttribute("copyBtnLabel");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
.attr("href", "#tab" + i)
.html(this.getAttribute("name"));

var infoString = x_addLineBreaks('<p>' + this.getAttribute("text") + '</p>'),
var infoString = '<p>' + x_addLineBreaks(this.getAttribute("text")) + '</p>',
url = this.getAttribute("url");

if (url != undefined && url != "") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
$paneList.addClass("delete");
}

var infoString = x_addLineBreaks('<p>' + this.getAttribute("text") + '</p>'),
var infoString = '<p>' + x_addLineBreaks(this.getAttribute("text"))+ '</p>',
url = this.getAttribute("url");

if (url != undefined && url != "") {
Expand Down

0 comments on commit 4a125ee

Please sign in to comment.