Passes selected items query only inside iframe.
This commit is contained in:
parent
7ac60dab0e
commit
b50de7ac21
|
@ -948,7 +948,9 @@ export default {
|
|||
return this.getSelectedItems();
|
||||
},
|
||||
selectedItems () {
|
||||
this.$eventBusSearch.setSelectedItemsForIframe(this.getSelectedItems());
|
||||
if (this.$route.query.iframemode)
|
||||
this.$eventBusSearch.setSelectedItemsForIframe(this.getSelectedItems());
|
||||
|
||||
return this.getSelectedItems();
|
||||
},
|
||||
isSelectingItems () {
|
||||
|
@ -1213,7 +1215,7 @@ export default {
|
|||
if ($event.ctrlKey || $event.shiftKey) {
|
||||
this.setSelectedItemChecked(item.id);
|
||||
} else {
|
||||
if (!this.$route.query.iframemode && this.$route.query.iframemode) {
|
||||
if (this.$route.query.iframemode && !this.$route.query.readmode) {
|
||||
this.setSelectedItemChecked(item.id)
|
||||
} else if (!this.$route.query.iframemode && !this.$route.query.readmode) {
|
||||
if(this.isOnTrash){
|
||||
|
|
|
@ -204,7 +204,8 @@
|
|||
content: $i18n.get('label_open_externally'),
|
||||
autoHide: false,
|
||||
placement: 'bottom'
|
||||
}"
|
||||
}"
|
||||
target="_blank"
|
||||
:href="getExposerFullURL(pagedLink, exposerMapper)">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-openurl"/>
|
||||
|
|
Loading…
Reference in New Issue