Two small code improvements

This commit is contained in:
Albert Santoni 2015-08-04 17:42:53 -04:00
parent d0d6efd508
commit c934866063
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ class Application_Model_Preference
if (strlen($title) > 0)
$title .= " - ";
return $title."Airtime";
return $title.PRODUCT_NAME;
}
public static function SetHeadTitle($title, $view=null)

View File

@ -164,7 +164,7 @@ function removeSuccessMsg() {
function getUsabilityHint() {
var pathname = window.location.pathname;
$.getJSON("/api/get-usability-hint", {"format": "json", "userPath": pathname}, function(json) {
$.getJSON(baseUrl + "api/get-usability-hint", {"format": "json", "userPath": pathname}, function(json) {
var $hint_div = $('.usability_hint');
var current_hint = $hint_div.html();
if (json === "") {