summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2016-03-06 17:02:18 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2016-03-06 17:02:18 +0000
commit452f23d1ea5a444a4513740b3983eed8afb5b22f (patch)
tree157f558f8292179de472d86fb7ce2c36ede412f2 /views
parent6e3783cb429e327bb1c4a5a8b760b2f76da1f25c (diff)
- Komische Umleitung bei ?page Parameter
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5393 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
-rw-r--r--views/mods/mod_productview/productview.js10
-rw-r--r--views/mods/mod_productview/productview.phtml2
2 files changed, 6 insertions, 6 deletions
diff --git a/views/mods/mod_productview/productview.js b/views/mods/mod_productview/productview.js
index a696aba..54a9df6 100644
--- a/views/mods/mod_productview/productview.js
+++ b/views/mods/mod_productview/productview.js
@@ -2,7 +2,7 @@
function wpsg_switchProductview(index, page, order, mode)
{
- var atts = jQuery('#wpsg_productview_' + index + ' input[name="atts"]').val();
+ var atts = jQuery('#wpsg_productview_' + index + ' input[name="wpsg_atts"]').val();
jQuery('#wpsg_productview_' + index).append('<div class="wpsg_mod_productview_loading"></div>');
@@ -11,10 +11,10 @@
'data': {
'wpsg_mod': 'wpsg_mod_productview',
'wpsg_action': 'refresh',
- 'atts': atts,
- 'page': page,
- 'order': order,
- 'mode': mode
+ 'wpsg_atts': atts,
+ 'wpsg_page': page,
+ 'wpsg_order': order,
+ 'wpsg_mode': mode
},
'success': function(data) {
diff --git a/views/mods/mod_productview/productview.phtml b/views/mods/mod_productview/productview.phtml
index 111f774..c917078 100644
--- a/views/mods/mod_productview/productview.phtml
+++ b/views/mods/mod_productview/productview.phtml
@@ -64,7 +64,7 @@
</div>
- <input type="hidden" name="atts" value="<?php echo @wpsg_hspc(serialize($this->view['wpsg_mod_productview']['atts'])); ?>" />
+ <input type="hidden" name="wpsg_atts" value="<?php echo @wpsg_hspc(serialize($this->view['wpsg_mod_productview']['atts'])); ?>" />
<div class="wpsg_mod_productview_go"><span class="glyphicon glyphicon-eye-open"></span></div>