 | PHP Builder free solutions for web developers
|
|
|
COMPUSORY UPGRADE!!! Request an upgrade NOW! 32+ Pre-installed Modifications! 3 Server Locations to choose from: USA, UK and JAPAN.
11th December 2012 - phpBB88: All servers are upgraded to run using SSD drive. Click Here to report problems!
| View previous topic :: View next topic |
| Author |
Message |
rodrigo.rpr Newbie

Joined: 10 Jun 2008 Posts: 5 :
Items
|
Posted: Tue Jun 10, 2008 1:10 pm Post subject: Bug in editmode, type Image (v 4.2.6) |
|
|
Hi.
I'm using your DataGrid 4.2.6 and I found a bug.
The problem is when you need to edit a image (remove and upload again).
You only need to set the property "readonly" in editmode when have to be "true".
Now, check this:
In datagrid.class.php line 4531 you fill $field_property_readonly variable.
Line 4565 you check if it is true and than fill some control variables. If is not true, variable $readonly is empty.
Until here is ok.
Then, line 4842 you check if var $readonly is DIFFERENT from "" (empty). And then it will be available the Remove (image) link.
This should be $readonly == "" (I prefer use function empty()).
So it works correctly.
Thanks for your time. |
|
| Back to top |
|
 |
| |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|