| Time and distance alerts |
[field]<\/b> field is invalid.',
error_validator_phone: 'The phone number in the [field]<\/b> field is invalid. The correct format is +16175555555.',
error_validator_phone_mask: 'The phone number in the [field]<\/b> field is invalid.',
error_validator_phone_mask_with_phone: 'The phone number [phone]<\/b> is invalid.',
error_validator_phone_phone_number_with_country_selection: 'The phone number is invalid',
error_validator_integer: 'The value of the [field]<\/b> field is invalid. It should be integer.',
error_validator_multiple: 'The [field]<\/b> field does not contain the selected options.',
error_validator_password: 'The passwords in the [field2]<\/b> and [field]<\/b> fields do not match.',
error_validator_required: 'The [field]<\/b> field is mandatory.',
error_validator_zipcode: 'The ZIP / Postal code in the [field]<\/b> field is incorrect. The correct format is [extra].',
error_validator_message: 'The value of the [field]<\/b> field is invalid.',
text_page_loading: 'Loading... Your request is being processed, please wait.',
error_ajax: 'Oops, something went wrong ([error]). Please try again.',
text_changes_not_saved: 'Your changes have not been saved.',
text_data_changed: 'Your changes have not been saved.Press OK to continue, or Cancel to stay on the current page.',
placing_order: 'Placing the order',
order_was_not_placed: 'Order was not placed',
file_browser: 'File browser',
browse: 'Browse...',
more: 'More',
text_no_products_found: 'No products found',
cookie_is_disabled: 'For a complete shopping experience, please set your browser to accept cookies<\/a>',
insert_image: 'Insert image',
image_url: 'Image URL',
loading: 'Loading...',
product_in_wishlist:'This product is already in the wish list',
'abt__ut2.add_to_wishlist.tooltip':'Add to wishlist',
product_added_to_cl:'The product was added to your Comparison list',
add_to_comparison_list:'Add to comparison list',
text_editing_raw: 'Text editing',
save_raw: 'Save',
cancel_raw: 'Cancel',
abt__ut2_of: 'of',
'abt__ut2.link_copied': 'Link copied',
'abt__ut2.product_reviews.all_reviews': 'All reviews',
'abt__ut2.product_reviews.customer_review': 'Customer review',
'abt__ut2.product_reviews.photo_n_of': 'Photo [n] of',
js_validator_not_valid_text_field: 'Only letters, spaces, apostrophes and dashes allowed.'
});
$.extend(_, {
index_script: 'index.php',
changes_warning: /*'Y'*/'N',
currencies: {
'primary': {
'decimals_separator': '.',
'thousands_separator': ',',
'decimals': '0'
},
'secondary': {
'decimals_separator': '.',
'thousands_separator': ',',
'decimals': '0',
'coefficient': '1.00000'
}
},
default_editor: 'redactor2',
default_previewer: 'ab__photoswipe',
current_path: '',
current_location: 'https://megamall.com.mm',
images_dir: 'https://megamall.com.mm/design/themes/responsive/media/images',
notice_displaying_time: 5,
cart_language: 'en',
language_direction: 'ltr',
default_language: 'en',
default_country: 'MM',
cart_prices_w_taxes: false,
regexp: [],
current_url: 'https://megamall.com.mm/index.php?dispatch=products.view&product_id=2995&sl=en',
current_host: 'megamall.com.mm',
init_context: '',
phone_validation_mode: 'phone_number_with_country_selection',
hash_of_available_countries: '0bfec9631b22efcfcaa41f237779eee0',
hash_of_phone_masks: '1784816649',
deferred_scripts: []
});
$(document).ready(function(){
turnOffPhoneSafariAutofill();
$.runCart('C');
});
$.ceEvent('on', 'ce.commoninit', function () {
turnOffPhoneSafariAutofill();
});
function turnOffPhoneSafariAutofill () {
if ($.browser.safari) {
const searchFakeSpan = 'search';
$('.autofill-off').each(function() {
const $field = $(this);
if ($field.data('caAutofillIsSet')) {
return;
}
$('[for="' + $field.attr('id') + '"').append(searchFakeSpan);
$field.data('caAutofillIsSet', true)
})
$('[x-autocompletetype="tel"]').removeAttr('x-autocompletetype');
var $maskPhoneLabels = $('.cm-mask-phone-label:not(.autofill-on)');
if (!$maskPhoneLabels.length || $('[data-ca-validator="ignore"]', $maskPhoneLabels).length) {
return;
}
$maskPhoneLabels.append(searchFakeSpan);
}
}
_.security_hash = 'a958065f7ee57ca7228157e5f92d152e';
}(Tygh, Tygh.$));
|