diff options
| -rw-r--r-- | views/mods/mod_relatedproducts/produkt_addedit_sidebar.phtml | 6 | ||||
| -rw-r--r-- | views/produkt/select.phtml | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/views/mods/mod_relatedproducts/produkt_addedit_sidebar.phtml b/views/mods/mod_relatedproducts/produkt_addedit_sidebar.phtml index ed87073..6b670ea 100644 --- a/views/mods/mod_relatedproducts/produkt_addedit_sidebar.phtml +++ b/views/mods/mod_relatedproducts/produkt_addedit_sidebar.phtml @@ -27,7 +27,7 @@ </div>
</div>
-<div id="wpsg_relatedproducts" class="panel panel-default">
+<div id="wpsg_relatedproducts" class="panel panel-default" tabindex="-1">
<div class="panel-heading clearfix">
<h3 class="panel-title">
<?php echo __('Zubehörprodukte', 'wpsg'); ?>
@@ -46,7 +46,7 @@ jQuery('#wpsg_mod_relatedproducts_dialog .modal-body').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
jQuery('#wpsg_mod_relatedproducts_dialog').modal( { } ).modal('show');
-
+
jQuery.ajax( {
url: 'admin.php?page=wpsg-Produkt&action=select&noheader=1&wpsg_mode=wpsg_mod_relatedproducts&edit_id=<?php echo $this->view['data']['id']; ?>',
success: function(data) {
@@ -64,7 +64,7 @@ <br />
- <a title="<?php echo __('Neuens Produkt zuordnen', 'wpsg'); ?>" href="" onclick="return wpsg_relatedproducts_add();"><span class="wpsg-glyphicon glyphicon glyphicon-plus"></span><?php echo __('Produkt zuordnen', 'wpsg'); ?></a>
+ <a title="<?php echo __('Neues Produkt zuordnen', 'wpsg'); ?>" href="" onclick="return wpsg_relatedproducts_add();"><span class="wpsg-glyphicon glyphicon glyphicon-plus"></span><?php echo __('Produkt zuordnen', 'wpsg'); ?></a>
<br /><br />
diff --git a/views/produkt/select.phtml b/views/produkt/select.phtml index 1edac16..93a9898 100644 --- a/views/produkt/select.phtml +++ b/views/produkt/select.phtml @@ -71,7 +71,7 @@ tinyMCEPopup.close();
-
+
}
<?php } ?>
@@ -118,7 +118,9 @@ {
insertProdukt();
- jQuery('#wpsg_relatedproducts_produktauswahl').html('').dialog('destroy');
+
+ //jQuery('#wpsg_mod_relatedproducts_dialog').html('').dialog('close');
+ jQuery('#wpsg_mod_relatedproducts_dialog').modal( { } ).modal('hide');
return false;
|
