diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2017-06-06 15:10:54 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2017-06-06 15:10:54 +0000 |
| commit | eb4343b2485dc88cbb4d4f1e5d53b03711b54e9f (patch) | |
| tree | 825a716cd298def8a29470eb2c245edfce661f80 /views/js | |
| parent | eb44c5e8ab1ac2c85d2dc6f30c6d44f9ccae961c (diff) | |
- Aufräumen / Funktionen in Produktansicht ohne Theme überarbeitet
- Basket ohne Tabellen angefangen
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6314 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/js')
| -rw-r--r-- | views/js/frontend.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/views/js/frontend.js b/views/js/frontend.js index b4b0119..e354123 100644 --- a/views/js/frontend.js +++ b/views/js/frontend.js @@ -38,6 +38,28 @@ return false;
}
+
+ /**
+ * Sperrt die Funktionen im Produkttemplate, während einer Ajax Aktion
+ * @param template_index
+ */
+ function wpsg_blockProductTemplate(template_index)
+ {
+
+ jQuery('#wpsg_produktform_' + template_index).append('<div class="wpsg_product_layer"><img src="' + wpsg_ajax.img_ajaxloading + '" alt="' + wpsg_ajax.label_pleasewait + '" /></div>');
+
+ } // function wpsg_blockProductTemplate(template_index)
+
+ /**
+ * Entsperrt die Funktionen im Produkttemplate nach einer Ajax Aktion
+ * @param template_index
+ */
+ function wpsg_unblockProductTemplate(template_index)
+ {
+
+ jQuery('#wpsg_produktform_' + template_index + ' .wpsg_product_layer').remove();
+
+ } // function wpsg_unblockProductTemplate(template_index)
wpsg_numberformat = function (number, decimals, dec_point, thousands_sep)
{
|
