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) if (strlen($title) > 0)
$title .= " - "; $title .= " - ";
return $title."Airtime"; return $title.PRODUCT_NAME;
} }
public static function SetHeadTitle($title, $view=null) public static function SetHeadTitle($title, $view=null)

View File

@ -164,7 +164,7 @@ function removeSuccessMsg() {
function getUsabilityHint() { function getUsabilityHint() {
var pathname = window.location.pathname; 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 $hint_div = $('.usability_hint');
var current_hint = $hint_div.html(); var current_hint = $hint_div.html();
if (json === "") { if (json === "") {