Ankit Tyagi
Posts: 0
Joined: Wed Apr 10, 2013 7:48 am

can not add custom css

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

can not add custom css

Hi Ankit,

We'll test this.

Ankit Tyagi
Posts: 0
Joined: Wed Apr 10, 2013 7:48 am

can not add custom css

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.

Ankit Tyagi
Posts: 0
Joined: Wed Apr 10, 2013 7:48 am

can not add custom css

any update on this?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

can not add custom css

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?

Ankit Tyagi
Posts: 0
Joined: Wed Apr 10, 2013 7:48 am

can not add custom css

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

can not add custom css

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

can not add custom css

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.

Ankit Tyagi
Posts: 0
Joined: Wed Apr 10, 2013 7:48 am

can not add custom css

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

Return to “Issues”