/**
 * @package 	WordPress
 * @subpackage 	Dental Clinic
 * @version		1.0.9
 * 
 * Visual Content Composer Schortcodes Extend
 * Created by CMSMasters
 * 
 */



/**
 * Blog Extend
 */

var blog_new_fields = {};


for (var id in cmsmsShortcodes.cmsms_blog.fields) {
	if (id === 'layout_mode') {
		cmsmsShortcodes.cmsms_blog.fields[id]['choises']['puzzle'] = composer_shortcodes_extend.blog_field_layout_mode_puzzle;
		
		
		blog_new_fields[id] = cmsmsShortcodes.cmsms_blog.fields[id];
	} else {
		blog_new_fields[id] = cmsmsShortcodes.cmsms_blog.fields[id];
	}
}


cmsmsShortcodes.cmsms_blog.fields = blog_new_fields;



/**
 * Quotes Extend
 */

var quotes_new_fields = {};


for (var id in cmsmsShortcodes.cmsms_quotes.fields) {
	if (id === 'mode') {
		quotes_new_fields[id] = cmsmsShortcodes.cmsms_quotes.fields[id];
		
		
		quotes_new_fields['type'] = { 
			type : 		'radio', 
			title : 	composer_shortcodes_extend.quotes_field_slider_type_title, 
			descr : 	composer_shortcodes_extend.quotes_field_slider_type_descr, 
			def : 		'box', 
			required : 	true, 
			width : 	'half', 
			choises : { 
						'box' : 	composer_shortcodes_extend.quotes_field_type_choice_box, 
						'center' : 	composer_shortcodes_extend.quotes_field_type_choice_center 
			}, 
			depend : 	'mode:slider' 
		};
	} else {
		quotes_new_fields[id] = cmsmsShortcodes.cmsms_quotes.fields[id];
	}
}


cmsmsShortcodes.cmsms_quotes.fields = quotes_new_fields;

