Change view (extjs) file Login.js don't effect

Hii All,
I update file /opt/traccar/web/app/view/dialog/Login.js
and add a label on it. after i save the file, why the view don't change? in Login dialog should display new label. i added this code bellow in item array:
{
xtype: 'label',
forId: 'myFieldId',
text: 'Tracking System',
margin: '0 0 0 55',
align : 'center',
style: 'font: bold 20px Arial'
}
can you tell where i must delete the cache in traccar.
Thankyou

You need to compile JavaScript code. It has been discussed many times. Use search.

Sorry Anton,
Thank you then..... i'll find it

Do you update debug.html?
Inside debug.html you must have this line:
<script id="loadScript" mode="debug" src="load.js"></script>

Hii
case closed, i can compile the traccar-web. this what i've done:
- download SDK extjs (i use 6.2.0 version)
- download sencha cmd
- take a look in minify.sh (if linux environment) add system variable in that file with value is path of the extjs SDK
- run minify.sh
- copy your app.min.js to the server
Thank you all...


Sure: vian.qu[at]gmail.com

@MuhHuz can you please explain 3 and 4 step of compile traccar -web.

Hii @Nitish Khadaria,
find the path where extjs SDK intalled on your machine. then add it to EXT var located in file tools/minify.sh
this is mine:
# Use the value of $EXTJS_PATH if it is defined, '../../../ext-6.2.0' otherwise
EXT=${EXTJS_PATH:-'../../../ext-6.2.0'}
the minify.sh required the SDK to compile.
then just execute the minify.sh/minify.bat
thanks

Thanks for your response @MuhHuz,
is it mandatory version 6.2.0 of sdk & cmd ?

yes... you should download it

Can you please make a video guide about that, it would be wonderful and me and many users will learn from it.
Thank you

I can't download sencha extjs sdk .Can someone help please.

What's the problem with the download?

Got it thanks for reply Anton.
\r\n```"},{"@type":"Comment","author":{"@type":"Person","name":"MuhHuz","url":"https://www.traccar.org/forums/users/tananaev/mhuzaifahivan/"},"datePublished":"2018-07-29T13:36:50.000Z","dateModified":"2018-07-29T13:36:50.000Z","text":"Hii\r\ncase closed, i can compile the traccar-web. this what i've done:\r\n1. download SDK extjs (i use 6.2.0 version)\r\n2. download sencha cmd\r\n3. take a look in minify.sh (if linux environment) add system variable in that file with value is path of the extjs SDK\r\n4. run minify.sh\r\n5. copy your app.min.js to the server\r\n\r\nThank you all..."},{"@type":"Comment","author":{"@type":"Person","name":"Peter Flower","url":"https://www.traccar.org/forums/users/tananaev/peterflowerqwerty/"},"datePublished":"2018-07-29T16:03:37.000Z","dateModified":"2018-07-29T16:03:37.000Z","text":"Great.\r\nDo you have email?"},{"@type":"Comment","author":{"@type":"Person","name":"MuhHuz","url":"https://www.traccar.org/forums/users/tananaev/mhuzaifahivan/"},"datePublished":"2018-07-31T16:18:49.000Z","dateModified":"2018-07-31T16:18:49.000Z","text":"Sure: vian.qu[at]gmail.com"},{"@type":"Comment","author":{"@type":"Person","name":"Nitish Khadaria","url":"https://www.traccar.org/forums/users/tananaev/nitishkhadaria/"},"datePublished":"2019-12-23T12:57:11.000Z","dateModified":"2019-12-23T12:57:23.000Z","text":"@MuhHuz can you please explain 3 and 4 step of compile traccar -web."},{"@type":"Comment","author":{"@type":"Person","name":"MuhHuz","url":"https://www.traccar.org/forums/users/tananaev/mhuzaifahivan/"},"datePublished":"2019-12-24T03:24:13.000Z","dateModified":"2019-12-24T03:25:30.000Z","text":"Hii @Nitish Khadaria,\r\n\r\nfind the path where extjs SDK intalled on your machine. then add it to EXT var located in file tools/minify.sh\r\n\r\nthis is mine:\r\n```\r\n# Use the value of $EXTJS_PATH if it is defined, '../../../ext-6.2.0' otherwise\r\nEXT=${EXTJS_PATH:-'../../../ext-6.2.0'}\r\n```\r\nthe minify.sh required the SDK to compile.\r\n\r\nthen just execute the minify.sh/minify.bat\r\n\r\nthanks"},{"@type":"Comment","author":{"@type":"Person","name":"Nitish Khadaria","url":"https://www.traccar.org/forums/users/tananaev/nitishkhadaria/"},"datePublished":"2019-12-24T04:42:08.000Z","dateModified":"2019-12-24T04:42:08.000Z","text":"Thanks for your response @MuhHuz,\r\nis it mandatory version 6.2.0 of sdk & cmd ?"},{"@type":"Comment","author":{"@type":"Person","name":"MuhHuz","url":"https://www.traccar.org/forums/users/tananaev/mhuzaifahivan/"},"datePublished":"2019-12-24T04:48:02.000Z","dateModified":"2019-12-24T04:48:02.000Z","text":"yes... you should download it"},{"@type":"Comment","author":{"@type":"Person","name":"Macan","url":"https://www.traccar.org/forums/users/tananaev/macano/"},"datePublished":"2020-01-26T21:23:00.000Z","dateModified":"2020-01-26T21:23:00.000Z","text":"Can you please make a video guide about that, it would be wonderful and me and many users will learn from it. \r\n\r\nThank you"},{"@type":"Comment","author":{"@type":"Person","name":"Swanhtet","url":"https://www.traccar.org/forums/users/tananaev/swan/"},"datePublished":"2020-09-26T12:05:08.000Z","dateModified":"2020-09-26T12:05:08.000Z","text":"I can't download sencha extjs sdk .Can someone help please."},{"@type":"Comment","author":{"@type":"Person","name":"Anton Tananaev","url":"https://www.traccar.org/forums/users/tananaev/tananaev/"},"datePublished":"2020-09-26T14:42:04.000Z","dateModified":"2020-09-26T14:42:04.000Z","text":"What's the problem with the download?"},{"@type":"Comment","author":{"@type":"Person","name":"Swanhtet","url":"https://www.traccar.org/forums/users/tananaev/swan/"},"datePublished":"2020-09-29T01:58:27.000Z","dateModified":"2020-09-29T01:58:27.000Z","text":"Got it thanks for reply Anton."}]}
Hii All,
I update file
/opt/traccar/web/app/view/dialog/Login.js
and add a label on it. after i save the file, why the view don't change? in Login dialog should display new label. i added this code bellow in item array:{ xtype: 'label', forId: 'myFieldId', text: 'Tracking System', margin: '0 0 0 55', align : 'center', style: 'font: bold 20px Arial' }
can you tell where i must delete the cache in traccar.
Thankyou