diff --git a/hlcreate.html b/hlcreate.html index 1dad6c2..7dadf35 100644 --- a/hlcreate.html +++ b/hlcreate.html @@ -1,19 +1,18 @@ - - - - - - - - - + + + + + + + + - - - - - + \ No newline at end of file diff --git a/js/tpxBasketAPICustomize.js b/js/tpxBasketAPICustomize.js index f5c5790..37bb483 100644 --- a/js/tpxBasketAPICustomize.js +++ b/js/tpxBasketAPICustomize.js @@ -1,20 +1,9 @@ -// CUSTOMIZATION FOR TPXHIGHLEVELBASKETAPI -// The purpose of this file is to separate original taopix provided file from the customization we need to do. -// This will make easier future upgrades and maintenance.On each new taopix release we can simply overwrite tpxHighLevelBasketAPI.js and be sure that -// all modifications are in this file and others that can be loaded after this one. -// The way we customize functions and variables in original is by overriding them here. -// So it is critical that this file is loaded after tpxHighLevelBasketAPI.js - - -// External Dependencies: -// tpxBasketAPIViewModel - - +// It is critical that this file is loaded after tpxHighLevelBasketAPI.js var kServerURL = ""; -// fixing a translation issue. When this is fixed by taopix, we can remove this line. -var kStr_LabelSignIn = "en Sign In

cs Přihlásit

da Log på

de Anmelden

es Iniciar Sesión

fi Kirjaudu

fr Connectez-vous

it Accedere

ja サインイン

ko 로그인

nl Aanmelden

no Logg inn

pl Zaloguj

pt Entre

ru Вход

sv Logga in

th เข้าสู่ระบบ

zh_cn 登录

zh_tw 登入"; +// fixing an spanish translation issue. When this is fixed by Taopix, we can remove this line. +var kStr_LabelSignIn = "en Sign In

cs Přihlásit

da Log på

de Anmelden

es Iniciar Sesión

fi Kirjaudu

fr Connectez-vous

it Accedere

ja サインイン

ko 로그인

nl Aanmelden

no Logg inn

pl Zaloguj

pt Entre

ru Вход

sv Logga in

th เข้าสู่ระบบ

zh_cn 登录

zh_tw 登入"; // GET PROJECT LIST CUSTOMIZATION @@ -29,7 +18,7 @@ function tpxHighLevelGetProjectListView(pJsonResponseObject) // RENAME PROJECT CUSTOMIZATION // As an exception we need to override the control function too. Explained why below. -// MATIAS: added a new parameter pProjectName. +// Added a new parameter pProjectName. // That is what is already done by Taopix for duplicateProjectControl and deleteProjectControl. // Not sure why here it is different // The parameter is to avoid having to extract the projectname from an element in the html. @@ -180,7 +169,6 @@ function tpxHighLevelGetBasketContentsView(pJsonResponseObject) // REMOVE ITEM FROM BASKET CUSTOMIZATION - function tpxHighLevelRemoveItemFromBasketView(pJsonResponseObject) { if (pJsonResponseObject.result == 32) @@ -230,7 +218,6 @@ function tpxHighLevelRemoveItemFromBasketView(pJsonResponseObject) // EMPTY BASKET CUSTOMIZATION - function tpxHighLevelEmptyBasketView(pJsonResponseObject) { if (pJsonResponseObject.result == 32) @@ -284,6 +271,5 @@ function tpxHighLevelLoggedInStatusCallBack(pIsSignedIn) tpxBasketAPIViewModel.isSignedIn(pIsSignedIn); } - // DISABLING TAOPIX INITIAL UI LOCALIZATION BECAUSE IT IS NOT NEEDED WITH KNOCKOUT function tpxHighLevelBasketLocalise() { } diff --git a/js/tpxBasketAPIViewModel.js b/js/tpxBasketAPIViewModel.js index 4b5ff94..9bf69aa 100644 --- a/js/tpxBasketAPIViewModel.js +++ b/js/tpxBasketAPIViewModel.js @@ -26,7 +26,7 @@ } self.localize = function (key) { - var translated = tpxGetLocaleString(key); // tpxLocalize.localize(key); + var translated = tpxGetLocaleString(key); if (!translated) { console.error('unable to translate string: ' + key);