Пример #1
0
			panelTransitionSpeed: 400,						
			closeButtonSelector: ".close",
			center: true,
			onOpenCallback: function() {
			jQuery("#topNavContainer").hide(250);
			},
			onCloseCallback: function() {
				jQuery("#topNavContainer").show(250);
			}
		});
		
		caRelationBundle<?php 
    print $vs_id_prefix;
    ?>
 = caUI.initRelationBundle('#<?php 
    print $vs_id_prefix . $t_item->tableNum() . '_rel';
    ?>
', {
			fieldNamePrefix: '<?php 
    print $vs_id_prefix;
    ?>
_',
			templateValues: ['label', 'type_id', 'id'],
			initialValues: <?php 
    print json_encode($va_initial_values);
    ?>
,
			initialValueOrder: <?php 
    print json_encode(array_keys($va_initial_values));
    ?>
,