Page 1 of 1

can not add custom css

Posted: Wed Apr 17, 2013 7:58 am
by Ankit Tyagi

when i create a new css in my progress project. i get progress related errors in console.
e.g. i added a custom css and js to implement toast as suggested in this link:
https://getsatisfaction.com/tiggzi/to...
when i test my project, i get following errors in console before launch of first page:
2
Uncaught SyntaxError: Unexpected token < /404.html:3
ReferenceError: progress is not defined
at j_8_onLoad (https://project.mobile.progress.com/p...)
at j_8_js (https://project.mobile.progress.com/p...)
at HTMLDivElement. (https://project.mobile.progress.com/p...)
at HTMLDocument.jQuery.event.dispatch (https://project.mobile.progress.com/r...)
at HTMLDocument.elemData.handle.eventHandle (https://project.mobile.progress.com/r...)
at Object.jQuery.event.trigger (https://project.mobile.progress.com/r...)
at HTMLDivElement. (https://project.mobile.progress.com/r...)
at Function.jQuery.extend.each (https://project.mobile.progress.com/r...)
at jQuery.fn.jQuery.each (https://project.mobile.progress.com/r...)
at jQuery.fn.extend.trigger (https://project.mobile.progress.com/r...) LoginWin.js:130
Uncaught TypeError: Cannot call method 'addCatalog' of undefined

Please help me out. i am using this in progress project.


can not add custom css

Posted: Wed Apr 17, 2013 8:04 am
by Kateryna Grynko

Hi Ankit,

We'll test this.


can not add custom css

Posted: Wed Apr 17, 2013 9:12 am
by Ankit Tyagi

even when i add a new blank css in my project, i get following error:
Uncaught TypeError: Cannot call method 'addCatalog' of undefined

when i delete this new css, my app works fine.


can not add custom css

Posted: Wed Apr 17, 2013 11:59 am
by Ankit Tyagi

any update on this?


can not add custom css

Posted: Wed Apr 17, 2013 12:30 pm
by Kateryna Grynko

Sorry for the delay. As I can see from errors some of JavaScript files is not found.
Did you connect any third party scripts in External Resources settings?
Maybe you've pasted an incorrect code in CSS or JS asset.
Could you share the app with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a so we can test it?


can not add custom css

Posted: Wed Apr 17, 2013 12:41 pm
by Ankit Tyagi

i have shared the project. i did not connect to any third party scripts. i dont even know how to do that. :). since my project is a progress project, only progress scripts are included.
i am getting errors even when i add a new completely blank css.


can not add custom css

Posted: Wed Apr 17, 2013 1:13 pm
by Kateryna Grynko

We'll take a look and I'll update.


can not add custom css

Posted: Wed Apr 17, 2013 2:23 pm
by Kateryna Grynko

Dear Ankit,

There was a Tiggzi problem. We've fixed it. There are no errors:
Uncaught SyntaxError: Unexpected token < /404.html:3
Uncaught TypeError: Cannot call method 'addCatalog' of undefined

But there is another error. When loading page custom code is run:
codepdsession&#46;addCatalog(&#46;&#46;&#46;)/code
In this line there is an error:
"Attempted to call addCatalog when there is no active session."

Seems something in incorrect.


can not add custom css

Posted: Thu Apr 18, 2013 6:13 am
by Ankit Tyagi

thanks a lot, it is working now .. the other errors were due to this problem. they are fixed now...