- Timestamp:
- 09/07/10 17:08:36 (21 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostrophePlugin/trunk/modules/a/templates/_ajaxUpdateSlot.php
r1964 r2144 9 9 $validationData = isset($validationData) ? $sf_data->getRaw('validationData') : null; 10 10 $variant = isset($variant) ? $sf_data->getRaw('variant') : null; 11 $slot = isset($slot) ? $sf_data->getRaw('slot') : null; 11 12 ?> 12 13 <?php // 1.3 and up don't do this automatically (no common filter) ?> … … 18 19 <?php use_helper('a') ?> 19 20 <?php a_slot_body($name, $type, $permid, $options, $validationData, $editorOpen, true) ?> 21 <?php if (!$slot->isNew()): ?> 22 <?php a_js_call('apostrophe.slotNotNew(?, ?, ?)', $pageid, $name, $permid) ?> 23 <?php endif ?> 24 <?php a_js_call('apostrophe.areaUpdateMoveButtons(?, ?, ?)', url_for('a/moveSlot'), $pageid, $name) ?> 20 25 <?php a_include_js_calls() ?> 21 26 <?php if (isset($variant)): ?>

