To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Show
Ignore:
Timestamp:
09/09/10 14:44:56 (21 months ago)
Author:
johnnyoffline
Message:

1. Fixed a bug with the apostrophe.menuToggle calls in _area.php
2. Enhanced apostrophe.menuToggle to fail gracefully if the toggle button is undefined
3. Fixed the cancel button for menu toggles so that they work even in the form was added later with ajax.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostrophePlugin/trunk/modules/a/templates/_createPage.php

    r2160 r2167  
    33  $form = isset($form) ? $sf_data->getRaw('form') : null; 
    44?> 
    5 <?php use_helper('I18N') ?> 
    65 
    7 <a href="#" class="a-btn icon a-add a-create-page" id="a-create-page-button" onclick="return false;"><span class="icon"></span><?php echo __("Add Page", null, 'apostrophe') ?></a> 
     6<?php use_helper('a') ?> 
     7 
     8<a href="#add-page" class="a-btn icon a-add a-create-page" id="a-create-page-button" onclick="return false;"><span class="icon"></span><?php echo __("Add Page", null, 'apostrophe') ?></a> 
    89 
    910<form method="POST" action="<?php echo url_for('a/create') ?>" id="a-create-page-form" class="a-ui a-options a-page-form a-create-page-form dropshadow">