summaryrefslogtreecommitdiffstats
path: root/core/js/oc-dialogs.js
Commit message (Collapse)AuthorAgeFilesLines
* Move OC.dialogs to the main bundleChristoph Wurst2019-04-301-1202/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #14912 from nextcloud/fix/filepicker/truncated-filenameRoeland Jago Douma2019-04-011-0/+15
|\ | | | | Truncate filename in the middle on filepicker
| * Truncate filename in the middle on filepickerJohn Molakvoæ (skjnldsv)2019-03-301-0/+15
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | hide new folder button in choose type filepickerFlorian Schunk2019-03-291-0/+3
|/ | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* Make all filepicker strings translatableChristoph Wurst2019-03-221-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* added missing variable declarationsimsolost2019-01-251-1/+1
| | | | Signed-off-by: imsolost <imsolost@gmail.com>
* fix testing for undefinedFlorian Schunk2019-01-161-8/+1
| | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* copy Dialog starts in current directoryFlorian Schunk2019-01-161-2/+11
| | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* use triple equal signs according to style guideFlorian Schunk2019-01-091-1/+1
| | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* move to new folderFlorian Schunk2019-01-091-1/+1
| | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* use triple equal signs according to style guideFlorian Schunk2019-01-091-1/+1
| | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* change menu's orientation to make sure it is completly visibleFlorian Schunk2019-01-091-1/+1
| | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* open name prompt on pressing enterFlorian Schunk2019-01-091-0/+11
| | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* reset name of new folder and prevent the form from being submitted twiceFlorian Schunk2019-01-091-1/+6
| | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* add functionality to create new folder in file pickerFlorian Schunk2019-01-091-1/+70
| | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* Fix dialogs, button positionJan-Christoph Borchardt2018-11-301-2/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Fix default filepicker style and gridviewJohn Molakvoæ (skjnldsv)2018-11-291-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Properly align loading indicator when switching foldersJulius Härtl2018-11-161-2/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Flip sort indicatorsJulius Härtl2018-11-161-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow sorting in the file pickerJulius Härtl2018-11-161-6/+46
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Disable grid for ieJohn Molakvoæ (skjnldsv)2018-11-051-1/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add filepicker toggleJohn Molakvoæ (skjnldsv)2018-10-231-0/+31
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Filepicker gridJohn Molakvoæ (skjnldsv)2018-10-231-0/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Make possible to pick both files and foldersDaniel Calviño Sánchez2018-08-301-1/+9
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Store the mime type filter always as an arrayDaniel Calviño Sánchez2018-08-301-6/+11
| | | | | | | | | This will make easier to check if both directories and files should be pickable. This also removes an unused assignment to the mime type. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix empty mime type filterDaniel Calviño Sánchez2018-08-301-2/+2
| | | | | | | | | | | When the mime type is an empty array no filter should be applied. However, the filter was loosely compared to an empty array, but as arrays are objects then it became an implicit strict equality comparison which always failed due to being different objects. Now the length of the array is compared instead, and also moved outside the loop as it is not needed to check it for each file. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Set emptyText depending on filepicker typeDaniel Kesselberg2018-07-311-1/+6
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add placeholder to input in OCdialog promptJulius Härtl2018-05-241-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Sort files in dialog by name.Patrik Novotný2018-04-181-1/+1
| | | | Signed-off-by: Patrik Novotný <patrik.novotny@gmx.com>
* sorts filepicker files by modified dateSagorika Das2018-03-141-1/+1
| | | | Signed-off-by: Sagorika Das <sagorika1996@gmail.com>
* Fix click error on oc-dialog breadcrumbJohn Molakvoæ (skjnldsv)2017-11-081-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Change move copy order and debug leftoverThomas Citharel2017-09-151-1/+0
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* typoThomas Citharel2017-09-151-1/+1
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* [WIP] Added copy and move buttonsThomas Citharel2017-09-151-12/+89
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #4610 from nextcloud/js-semicolonsLukas Reschke2017-05-011-1/+1
|\ | | | | Fix semicolon at end of JS lines
| * Fix semicolon at end of JS linesMorris Jobke2017-05-011-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix variable definitions in oc dialogsMorris Jobke2017-05-011-2/+4
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix translationsJoas Schilling2017-04-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fire callback also on pure closing of prompt dialogMorris Jobke2016-12-091-1/+15
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #2342 from nextcloud/filepicker-shadowLukas Reschke2016-11-281-9/+2
|\ | | | | Fix filepicker styling
| * move more sizing logic to cssRobin Appelman2016-11-281-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * limit filepicker height to screenRobin Appelman2016-11-251-8/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | use public share fileclient when availableRobin Appelman2016-11-251-1/+1
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* show dialog again of operation failedBjoern Schiessle2016-11-241-0/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Color the trusted domain to alert the admin a bit moreJoas Schilling2016-10-311-2/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #1823 from nextcloud/filepicker-folder-fixRoeland Jago Douma2016-10-251-1/+4
|\ | | | | Fix picking a folder with the filepicker
| * Fix picking a folder with the filepickerRobin Appelman2016-10-201-1/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | show empty folder message in filepickerRobin Appelman2016-10-211-1/+8
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix filepicker with no mimetype filterRobin Appelman2016-10-191-3/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use a table for the filepicker list and add size columnRobin Appelman2016-10-191-14/+19
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>