User tests: Successful: Unsuccessful:
See tracker 34042 on joomlacode.org:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=34042&tracker_id=34042
In short: javascript function includes "form" parameter but such is not sent by php sort function, which limits the setting of form name/id.
Labels |
Added:
?
?
|
Title |
|
Title |
|
Added @param
Found that the javascript function takes as an argument form element not id of element, so added pull request to change the javascript: PhocaCz@391e41c
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-08-08 15:03:36 |
Status | Closed | ⇒ | New |
Status | New | ⇒ | Closed |
Closed_Date | 2014-08-08 15:03:36 | ⇒ | 2014-08-08 15:03:42 |
Status | Closed | ⇒ | New |
Hi, yes, core.js needs to be changed - not sure how this works, but I thought, core.js is automatically converted from core-uncomressed.js.
Anyway the patch is working Ok when testing but of course it is not a clean solution, because the "form" as parameter in the javascript function in fact is not clearly defined - it can be an element or string. I think, it is better to have the parameter as a string as you can get the element every time you need in the function body. Now you have problems to send the element as parameter (e.g. when using inline javascript - for example: grid.php). It is better to send the name which then becomes element by getelementbyid function. Unfortunately changing it to string and making it easier and cleaner (from my point of view) can cause backward compatibility issues, so the patch is made to not break the backward compatibility.
Jan
Hi, yes, core.js needs to be changed - not sure how this works, but I thought, core.js is automatically converted from core-uncomressed.js.
We don't have an automatic compression yet. You just manually compress it using your favorite tool and add it to the PR.
Aha, please can you let me know some compress tool - I don't have any experiences regarding compressing :-(
Thank you, Jan
I think last time I used http://refresh-sf.com/yui/. But there are at least hundreds of them
https://www.google.ch/search?q=js+compress+online#q=js+compressor+online
Labels |
Removed:
?
|
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript |
Status | Pending | ⇒ | Closed |
Closed_Date | 2014-08-08 15:03:42 | ⇒ | 2014-09-06 19:26:51 |
Thanks @PhocaCz can you also add a @param description to the doc block?