Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
initial hide go up button
  • Loading branch information
derUli committed Sep 17, 2020
1 parent 019e762 commit e845870
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 70 deletions.
3 changes: 2 additions & 1 deletion ulicms/content/modules/core_content/js/pages/list.js
Expand Up @@ -77,7 +77,7 @@ $(() => {

const updateGoUpButton = () => {
const parentId = $("select#filter_parent").val();
if (parentId.length) {
if (parentId && parseInt(parentId) > 0) {
$("#btn-go-up").show();
} else {
$("#btn-go-up").hide();
Expand Down Expand Up @@ -126,6 +126,7 @@ const loadFiltersFromlocalStorage = () => {
$("#filter_active").val(filters.active).trigger("change");
$("#filter_parent").val(parentId).trigger("change");

updateGoUpButton();
};

// filter parent pages by selected language and menu
Expand Down
Expand Up @@ -65,6 +65,7 @@ class="fas fa-book"></i> <?php translate("pages"); ?></a>
href="#"
class="btn btn-default voffset3"
id="btn-go-up"
style="display: none"
data-url="<?php
echo ModuleHelper::buildMethodCallUrl(
PageController::class,
Expand Down
2 changes: 1 addition & 1 deletion ulicms/licenses.json
@@ -1 +1 @@
[{"department":"kessler","relatedTo":"stuff","name":"@fortawesome/fontawesome-free","licensePeriod":"perpetual","material":"material","licenseType":"(CC-BY-4.0 AND OFL-1.1 AND MIT)","link":"git+https://github.com/FortAwesome/Font-Awesome.git","comment":"5.14.0"},{"department":"kessler","relatedTo":"stuff","name":"bootbox","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git://github.com/makeusabrew/bootbox.git","comment":"4.4.0"},{"department":"kessler","relatedTo":"stuff","name":"bootstrap","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/twbs/bootstrap.git","comment":"3.4.1"},{"department":"kessler","relatedTo":"stuff","name":"bootstrap-toggle","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/minhur/bootstrap-toggle.git","comment":"2.2.2"},{"department":"kessler","relatedTo":"stuff","name":"codemirror-minified","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/Dominator008/CodeMirror-minified.git","comment":"5.56.0"},{"department":"kessler","relatedTo":"stuff","name":"datatables","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/DataTables/DataTables.git","comment":"1.10.18"},{"department":"kessler","relatedTo":"stuff","name":"jquery","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/jquery/jquery.git","comment":"3.5.1"},{"department":"kessler","relatedTo":"stuff","name":"jquery-datetimepicker","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/xdan/datetimepicker.git","comment":"2.5.21"},{"department":"kessler","relatedTo":"stuff","name":"jquery-form","licensePeriod":"perpetual","material":"material","licenseType":"(LGPL-2.1+ OR MIT)","link":"git+https://github.com/jquery-form/form.git","comment":"4.3.0"},{"department":"kessler","relatedTo":"stuff","name":"jscolor-picker","licensePeriod":"perpetual","material":"material","licenseType":"GPL-3.0","link":"git+https://github.com/clementdemily/jscolor.git","comment":"2.0.4"},{"department":"kessler","relatedTo":"stuff","name":"password-strength-meter","licensePeriod":"perpetual","material":"material","licenseType":"GPL-3.0","link":"git+ssh://git@github.com/elboletaire/password-strength-meter.git","comment":"2.1.0"},{"department":"kessler","relatedTo":"stuff","name":"select2","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git://github.com/select2/select2.git","comment":"4.0.13"},{"department":"kessler","relatedTo":"stuff","name":"slug","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git://github.com/Trott/node-slug.git","comment":"2.1.1"},{"department":"kessler","relatedTo":"stuff","name":"vanilla-toast","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/talsu/vanilla-toast.git","comment":"0.5.0"},{"department":"kessler","relatedTo":"stuff","name":"zenscroll","licensePeriod":"perpetual","material":"material","licenseType":"Unlicense","link":"git+https://github.com/zengabor/zenscroll.git","comment":"4.0.2"}]
[{"department":"kessler","relatedTo":"stuff","name":"@fortawesome/fontawesome-free","licensePeriod":"perpetual","material":"material","licenseType":"(CC-BY-4.0 AND OFL-1.1 AND MIT)","link":"git+https://github.com/FortAwesome/Font-Awesome.git","comment":"5.14.0"},{"department":"kessler","relatedTo":"stuff","name":"bootbox","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git://github.com/makeusabrew/bootbox.git","comment":"4.4.0"},{"department":"kessler","relatedTo":"stuff","name":"bootstrap","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/twbs/bootstrap.git","comment":"3.4.1"},{"department":"kessler","relatedTo":"stuff","name":"bootstrap-toggle","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/minhur/bootstrap-toggle.git","comment":"2.2.2"},{"department":"kessler","relatedTo":"stuff","name":"codemirror-minified","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/Dominator008/CodeMirror-minified.git","comment":"5.57.0"},{"department":"kessler","relatedTo":"stuff","name":"datatables","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/DataTables/DataTables.git","comment":"1.10.18"},{"department":"kessler","relatedTo":"stuff","name":"jquery","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/jquery/jquery.git","comment":"3.5.1"},{"department":"kessler","relatedTo":"stuff","name":"jquery-datetimepicker","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/xdan/datetimepicker.git","comment":"2.5.21"},{"department":"kessler","relatedTo":"stuff","name":"jquery-form","licensePeriod":"perpetual","material":"material","licenseType":"(LGPL-2.1+ OR MIT)","link":"git+https://github.com/jquery-form/form.git","comment":"4.3.0"},{"department":"kessler","relatedTo":"stuff","name":"jscolor-picker","licensePeriod":"perpetual","material":"material","licenseType":"GPL-3.0","link":"git+https://github.com/clementdemily/jscolor.git","comment":"2.0.4"},{"department":"kessler","relatedTo":"stuff","name":"password-strength-meter","licensePeriod":"perpetual","material":"material","licenseType":"GPL-3.0","link":"git+ssh://git@github.com/elboletaire/password-strength-meter.git","comment":"2.1.0"},{"department":"kessler","relatedTo":"stuff","name":"select2","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git://github.com/select2/select2.git","comment":"4.0.13"},{"department":"kessler","relatedTo":"stuff","name":"slug","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git://github.com/Trott/node-slug.git","comment":"2.1.1"},{"department":"kessler","relatedTo":"stuff","name":"vanilla-toast","licensePeriod":"perpetual","material":"material","licenseType":"MIT","link":"git+https://github.com/talsu/vanilla-toast.git","comment":"0.5.0"},{"department":"kessler","relatedTo":"stuff","name":"zenscroll","licensePeriod":"perpetual","material":"material","licenseType":"Unlicense","link":"git+https://github.com/zengabor/zenscroll.git","comment":"4.0.2"}]
84 changes: 16 additions & 68 deletions ulicms/licenses.md
Expand Up @@ -405,12 +405,13 @@ consolidation/output-formatters 4.1.1 MIT
dflydev/dot-access-data v1.1.0 MIT
psr/container 1.0.0 MIT
psr/log 1.1.3 MIT
symfony/console v4.4.8 MIT
symfony/event-dispatcher v4.4.8 MIT
symfony/console v4.4.10 MIT
symfony/event-dispatcher v4.4.10 MIT
symfony/event-dispatcher-contracts v1.1.7 MIT
symfony/finder v4.4.8 MIT
symfony/finder v4.4.10 MIT
symfony/polyfill-mbstring v1.17.0 MIT
symfony/polyfill-php73 v1.17.0 MIT
symfony/polyfill-php80 v1.17.0 MIT
symfony/service-contracts v1.1.8 MIT

### consolidation/config
Expand Down Expand Up @@ -507,29 +508,28 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
DEPENDENCY LICENSES:

Name Version License
consolidation/annotated-command 4.1.1 MIT
consolidation/annotated-command 4.2.1 MIT
consolidation/config 2.0.0 MIT
consolidation/log 2.0.1 MIT
consolidation/output-formatters 4.1.1 MIT
consolidation/self-update 1.2.0 MIT
container-interop/container-interop 1.2.0 MIT
dflydev/dot-access-data v1.1.0 MIT
grasmash/expander 1.0.0 MIT
grasmash/yaml-expander 1.4.0 MIT
league/container 2.4.1 MIT
psr/container 1.0.0 MIT
psr/log 1.1.3 MIT
symfony/console v4.4.8 MIT
symfony/event-dispatcher v4.4.8 MIT
symfony/event-dispatcher-contracts v1.1.7 MIT
symfony/filesystem v4.4.8 MIT
symfony/finder v4.4.8 MIT
symfony/polyfill-ctype v1.17.0 MIT
symfony/polyfill-mbstring v1.17.0 MIT
symfony/polyfill-php73 v1.17.0 MIT
symfony/process v4.4.8 MIT
symfony/service-contracts v1.1.8 MIT
symfony/yaml v4.4.8 MIT
symfony/console v4.4.12 MIT
symfony/event-dispatcher v4.4.12 MIT
symfony/event-dispatcher-contracts v1.1.9 MIT
symfony/filesystem v4.4.12 MIT
symfony/finder v4.4.12 MIT
symfony/polyfill-ctype v1.18.1 MIT
symfony/polyfill-mbstring v1.18.1 MIT
symfony/polyfill-php73 v1.18.1 MIT
symfony/polyfill-php80 v1.18.1 MIT
symfony/process v4.4.12 MIT
symfony/service-contracts v1.1.9 MIT

### consolidation/self-update
Provides a self:update command for Symfony Console applications.
Expand Down Expand Up @@ -701,33 +701,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


### grasmash/yaml-expander
Expands internal property references in a yaml file.
Homepage: Not configured.
Licenses Used: MIT
MIT License

Copyright (c) 2017 Matthew Grasmick

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


### guzzlehttp/psr7
PSR-7 message implementation that also provides common utility methods
Homepage: Not configured.
Expand Down Expand Up @@ -2307,31 +2280,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


### symfony/yaml
Symfony Yaml Component
Homepage: https://symfony.com
Licenses Used: MIT
Copyright (c) 2004-2020 Fabien Potencier

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


### voku/portable-ascii
Portable ASCII library - performance optimized (ascii) string functions for php.
Homepage: https://github.com/voku/portable-ascii
Expand Down

0 comments on commit e845870

Please sign in to comment.