Two small code improvements
This commit is contained in:
parent
d0d6efd508
commit
c934866063
|
@ -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)
|
||||
|
|
|
@ -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 === "") {
|
||||
|
|
Loading…
Reference in New Issue