on 04-14-2016 6:22 AM
Hi Experts,
I have created a SAPUI5 application for re-arranging the tiles on click of a button. The application was working fine and was able to re-arrange the tiles and model data was also getting updated.
Now, when i am trying to run the application again i am getting the error message as "Uncaught TypeError: Cannot read property 'style' of null".
Kindly assist me in fixing the error.
JS Bin link: JS Bin - Collaborative JavaScript Debugging
Thanks & Regards,
Varun V
Hi Varun,
If I comment on below line in tileMove event , it works fine: JS Bin - Collaborative JavaScript Debugging
// var i = swap(obj1, initial, obj1, last);
What exactly are you trying to achieve with 'swap' function?
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Varun,
Try adding a delayedCall to that function, it should work: JS Bin - Collaborative JavaScript Debugging
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.