01org/appframework — pull request #513 by krisrak (2013-12-15 02:03:42+00:00)
Title: apply back button trim only if length >= 7

pull-request #512 for `2.1devtf` branch

Issue
-
if backButton text is 5 characters then "..." is added, for example if text is "Title" becomes "Title..."

Test Case
-
Make the title of a page to 5 character title, and navigate to a different page, notice that the bacButton has 5 characters + "..."

Fix
-
add another check to append "..." only `if (text.length >= 7)` this will make sure that "..." is only appended if text is 7 characters or more, and truncates at 5 characters.