Development

Changeset 4155

You must first sign up to be able to contribute.

Changeset 4155

Show
Ignore:
Timestamp:
06/04/07 17:03:59 (6 years ago)
Author:
Jonathan.Wage
Message:

sfDoctrineNestedSetManagerPlugin?: Added ability to add root elements, and fixed bug with ampersands in name field.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfDoctrineNestedSetManagerPlugin/modules/sfNestedSetManager/templates/_edit_field.php

    r4027 r4155  
    1 <?php echo input_tag($record->getId(), $record->get($field), 'onchange="'.remote_function(array('url' => 'sfNestedSetManager/edit_field', 'with' => "'field=".$field."&model=".$model."&id=".$record->getId()."&root=".$root."&value=' + value")).'"'); ?> 
     1<?php echo input_tag($record->getId(), $record->get($field), 'onchange="'.remote_function(array('url' => 'sfNestedSetManager/edit_field', 'with' => "'field=".$field."&model=".$model."&id=".$record->getId()."&root=".$root."&value=' + escape(value)")).'"'); ?> 
    22