1
- // CUSTOMIZATION FOR TPXHIGHLEVELBASKETAPI
2
- // The purpose of this file is to separate original taopix provided file from the customization we need to do.
3
- // This will make easier future upgrades and maintenance.On each new taopix release we can simply overwrite tpxHighLevelBasketAPI.js and be sure that
4
- // all modifications are in this file and others that can be loaded after this one.
5
- // The way we customize functions and variables in original is by overriding them here.
6
- // So it is critical that this file is loaded after tpxHighLevelBasketAPI.js
7
-
8
-
9
- // External Dependencies:
10
- // tpxBasketAPIViewModel
11
-
12
-
1
+ // It is critical that this file is loaded after tpxHighLevelBasketAPI.js
13
2
14
3
var kServerURL = "" ;
15
- // fixing a translation issue. When this is fixed by taopix, we can remove this line.
16
- var kStr_LabelSignIn = "en Sign In<p>cs Přihlásit<p>da Log på<p>de Anmelden<p>es Iniciar Sesión<p>fi Kirjaudu<p>fr Connectez-vous<p>it Accedere<p>ja サインイン<p>ko 로그인<p>nl Aanmelden<p>no Logg inn<p>pl Zaloguj<p>pt Entre<p>ru Вход<p>sv Logga in<p>th เข้าสู่ระบบ<p>zh_cn 登录<p>zh_tw 登入" ;
17
4
5
+ // fixing an spanish translation issue. When this is fixed by Taopix, we can remove this line.
6
+ var kStr_LabelSignIn = "en Sign In<p>cs Přihlásit<p>da Log på<p>de Anmelden<p>es Iniciar Sesión<p>fi Kirjaudu<p>fr Connectez-vous<p>it Accedere<p>ja サインイン<p>ko 로그인<p>nl Aanmelden<p>no Logg inn<p>pl Zaloguj<p>pt Entre<p>ru Вход<p>sv Logga in<p>th เข้าสู่ระบบ<p>zh_cn 登录<p>zh_tw 登入" ;
18
7
19
8
20
9
// GET PROJECT LIST CUSTOMIZATION
@@ -29,7 +18,7 @@ function tpxHighLevelGetProjectListView(pJsonResponseObject)
29
18
// RENAME PROJECT CUSTOMIZATION
30
19
// As an exception we need to override the control function too. Explained why below.
31
20
32
- // MATIAS: added a new parameter pProjectName.
21
+ // Added a new parameter pProjectName.
33
22
// That is what is already done by Taopix for duplicateProjectControl and deleteProjectControl.
34
23
// Not sure why here it is different
35
24
// The parameter is to avoid having to extract the projectname from an element in the html.
@@ -180,7 +169,6 @@ function tpxHighLevelGetBasketContentsView(pJsonResponseObject)
180
169
181
170
182
171
// REMOVE ITEM FROM BASKET CUSTOMIZATION
183
-
184
172
function tpxHighLevelRemoveItemFromBasketView ( pJsonResponseObject )
185
173
{
186
174
if ( pJsonResponseObject . result == 32 )
@@ -230,7 +218,6 @@ function tpxHighLevelRemoveItemFromBasketView(pJsonResponseObject)
230
218
231
219
232
220
// EMPTY BASKET CUSTOMIZATION
233
-
234
221
function tpxHighLevelEmptyBasketView ( pJsonResponseObject )
235
222
{
236
223
if ( pJsonResponseObject . result == 32 )
@@ -284,6 +271,5 @@ function tpxHighLevelLoggedInStatusCallBack(pIsSignedIn)
284
271
tpxBasketAPIViewModel . isSignedIn ( pIsSignedIn ) ;
285
272
}
286
273
287
-
288
274
// DISABLING TAOPIX INITIAL UI LOCALIZATION BECAUSE IT IS NOT NEEDED WITH KNOCKOUT
289
275
function tpxHighLevelBasketLocalise ( ) { }
0 commit comments