power-media / prado3

Automatically exported from code.google.com/p/prado3
Other
0 stars 0 forks source link

Prado tries the load CSS blocks via XHR #479

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. register a css block with $clientScript->registerStyleSheet('css', 'body 
{background-color:red;}')
2. use some active components like an TActiveTextBox with AutoPostBack enabled
3. type some text, press enter

What is the expected output? What do you see instead?

ajax3.js will trigger an XHR request for 'body%20%7Bbackground-color:red;%7D'. 
This is wrong, registerStyleSheet is meant to be used for registering a css 
block, not a css file.

What version of the product are you using? On what operating system?

Prado 3.2.2

Please provide any additional information below.

It looks like $clientScript->getStyleSheetUrls() is returning stylesheet files 
AND the css block, which is, according to the documentation, wrong.

Original issue reported on code.google.com by david.ot...@gmail.com on 10 Sep 2013 at 3:43

Attachments:

GoogleCodeExporter commented 8 years ago
Moved to github: https://github.com/pradosoft/prado/issues

Original comment by ctrlal...@gmail.com on 1 Oct 2013 at 10:14