Removes checks for enable_select_all_items_pages constant.
This commit is contained in:
parent
b2f5a68a4c
commit
eb0a4a0fee
|
@ -279,9 +279,6 @@ class Admin {
|
|||
|
||||
$settings['wp_post_types'] = $wp_post_types;
|
||||
|
||||
// add an alternative to enable select all items in all pages while we temporarly disable bulk edit for all (see #199)
|
||||
$settings['enable_select_all_items_pages'] = defined('TAINACAN_ENABLE_SELECT_ALL_ITEMS_PAGES') ? TAINACAN_ENABLE_SELECT_ALL_ITEMS_PAGES : false;
|
||||
|
||||
return $settings;
|
||||
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
<span
|
||||
style="margin-left: 10px"
|
||||
v-if="enableSelectAllItemsPages == true && allItemsOnPageSelected && items.length > 1">
|
||||
v-if="allItemsOnPageSelected && items.length > 1">
|
||||
<b-checkbox
|
||||
v-model="isAllItemsSelected">
|
||||
{{ $i18n.getWithVariables('label_select_all_%s_items', [totalItems]) }}
|
||||
|
@ -930,8 +930,7 @@ export default {
|
|||
thumbPlaceholderPath: tainacan_plugin.base_url + '/admin/images/placeholder_square.png',
|
||||
cursorPosX: -1,
|
||||
cursorPosY: -1,
|
||||
contextMenuItem: null,
|
||||
enableSelectAllItemsPages: tainacan_plugin.enable_select_all_items_pages
|
||||
contextMenuItem: null
|
||||
}
|
||||
},
|
||||
mixins: [ dateInter ],
|
||||
|
|
Loading…
Reference in New Issue