PHP Classes

File: engine/modules/core/localization/js/localization.js

Recommend this page to a friend!
  Classes of Aldo Tripiciano   Quanta CMS   engine/modules/core/localization/js/localization.js   Download  
File: engine/modules/core/localization/js/localization.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: 5 years ago
Size: 611 bytes
 

Contents

Class file image Download
$(document).bind('refresh', function() { $('.translate-link').off('click').on('click', function (e) { var components = (($(this).attr('data-components') != undefined) ? ($(this).attr('data-components').split(',')) : ['node_form', 'file_form', 'manager_form', 'access_form', 'status_form']); openShadow({ module : 'node', context: 'node_edit', widget: $(this).attr('data-widget'), language: $(this).attr('data-language'), components: components, node: $(this).attr('data-rel'), redirect: $(this).attr('data-redirect') }); e.preventDefault(); }); });