VirtueMart  3.2.14.9808
Namespaces | Functions | Variables
vmsite.js File Reference

Namespaces

 VirtueMart
 

Functions

 if (typeof Virtuemart==="undefined") var Virtuemart
 

Variables

function fn vm2front
 
fn vm2front defaults
 
Virtuemart startVmLoading
 
Virtuemart stopVmLoading
 

Function Documentation

if ( typeof  Virtuemart = =="undefined")

Variable Documentation

fn vm2front defaults
Initial value:
= {
state_field_selector : '#virtuemart_state_id_field',
selected_state_ids : '',
field_prefix : '',
field_update_trigger : 'liszt:updated',
show_list_loader : true,
asterisk_class : 'asterisk'
}
Virtuemart startVmLoading
Initial value:
= function(a) {
var msg = '';
if (typeof a.data.msg !== 'undefined') {
msg = a.data.msg;
}
$('body').addClass('vmLoading');
if (!$('div.vmLoadingDiv').length) {
$('body').append('<div class="vmLoadingDiv"><div class="vmLoadingDivMsg">' + msg + '</div></div>');
}
}
function a
Definition: chosen.jquery.min.js:1
Virtuemart stopVmLoading
Initial value:
= function() {
if ($('body').hasClass('vmLoading')) {
$('body').removeClass('vmLoading');
$('div.vmLoadingDiv').remove();
}
}
function fn vm2front
Initial value:
= function(method) {
if (methods[method]) {
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
} else if (typeof method === 'object' || !method) {
return methods.init.apply(this, arguments);
} else {
$.error('Method ' + method + ' does not exist in Vm2front plugin.');
}
}
var methods
Definition: jquery.validationEngine.js:17