Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Broken/Javascript-interface for repeat elements function

De MoodleDocs
Salta a:navegació, cerca
  1. "Where it will be" - don't think full list is necessary, you may just list some places. Core function should work anywhere it called, calling isn't you problems.
  2. I don't think using AJAX to add new blanks is a good idea. Why don't just add them using javascript on the page, creating new HTML-elements (you'll need a hidden empty blank somewhere ready to copying) and changing hidden element with the number of blanks? The server is stateless, it won't find anything strange when the modified form will be submitted.
  3. Last sentences about deleting/moving isn't necessary, you are talking with the smart people, they sure know what those icon do. At least make pictures smaller - or just delete all this.
  4. Still nothing about preserving original numbers of the blanks and proposed changes in the repeat_elements interface to set $prefix instead of two existing (and one new) element names...
  5. I don't see any "restore order" button on the screenshots, I also don't sure why it is necessary while it definitely wouldn't be easy thing to implement. If you implement all other things that will be quite enought.

--Oleg Sychev 21:27, 2 October 2010 (UTC)