summaryrefslogtreecommitdiffstats
path: root/data/js
AgeCommit message (Collapse)AuthorFilesLines
2013-02-25automatically wrap linesFlorian Pritz1-11/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-23Rearrange upload formFlorian Pritz1-0/+15
This allows the textarea to be wider without vanishing behind the file upload form. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-01-17Support multiple uploads in the same requestFlorian Pritz1-9/+17
This change *should* be backwards compatible. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-01-17Fix js TypeError on pages != upload_formFlorian Pritz1-1/+1
The jquery code won't produce an error message if there is no element machting the search. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-29Add button to wrap long lines in code viewFlorian Pritz1-0/+12
Since wrapping would break the line numbers we hide them. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-26fix handling of special chars in lexer namesFlorian Pritz1-1/+5
xml+php would break twice because + isn't an allowed char and because urldecode() converts it to a space. We fix this by providing a proper urlencoded string. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-22Merge upload_form.js into script.jsFlorian Pritz2-16/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-22switch design to bootstrap; minor fixes along the wayFlorian Pritz5-2/+87
Initial-work-by: Oliver Mader <b52@reaktor42.de> Additional-work-by: Markus Cisler <mrkscslr@gmail.com> Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-13Add do_paste() and remove ajax from upload_formFlorian Pritz1-47/+0
If the session has timed out, javascript will get the login page and try to redirect to "base_url/$htmlcode" which will obviously fail. Instead of fixing the js code, reintroduce do_paste and use it. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-09remove password from text formFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-09Revert "Disable paste box"Florian Pritz1-0/+64
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-09Disable paste boxFlorian Pritz1-64/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-12-17remove php code from upload_from.jsFlorian Pritz1-3/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-12-17move JS of upload_form to separate fileFlorian Pritz1-0/+65
The code hardly changes so it should be cached by the browser. This won't work if it's inlined. Signed-off-by: Florian Pritz <bluewind@xinu.at>