Broken/Javascript-interface for repeat elements function: diferència entre les revisions
De MoodleDocs
New page: I already told you what I think about this page: # one screenshot is quite enought for what you done, it isn't necessary to add screenshot to every alert message box - this is not Microsof... |
mCap resum de modificació |
||
| Línia 1: | Línia 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. | |||
# 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. | |||
# 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. | |||
# | # 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... | ||
# | # 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. | ||
# | --[[User:Oleg Sychev|Oleg Sychev]] 21:27, 2 October 2010 (UTC) | ||
--[[User:Oleg Sychev|Oleg Sychev]] | |||
Revisió del 21:27, 2 oct 2010
- "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.
- 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.
- 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.
- 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...
- 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)