PHP Classes

File: engine/modules/contrib/ecommerce/js/ecommerce.js

Recommend this page to a friend!
  Classes of Aldo Tripiciano   Quanta CMS   engine/modules/contrib/ecommerce/js/ecommerce.js   Download  
File: engine/modules/contrib/ecommerce/js/ecommerce.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Quanta CMS
Manage content that works without a database
Author: By
Last change:
Date: 6 years ago
Size: 777 bytes
 

Contents

Class file image Download
$(document).bind('refresh', function() { $('.product-edit-link').on('click', function() { openShadow({ module : 'ecommerce', context: 'node_edit', widget: 'tabs', components: ['node_form', 'file_form', 'product_form', 'manager_form'], node: $(this).attr('rel') }); }); $('.product-add-link').each(function() { $(this).on('click', function() { openShadow({ module: 'ecommerce', context: 'node_add', components: ['node_form', 'file_form', 'product_form'], widget: 'tabs', type: $(this).attr('data-type'), node: $(this).attr('rel'), }); }); }); });