Needs review
Project:
Imagefield Crop
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2011 at 10:20 UTC
Updated:
4 Oct 2011 at 10:20 UTC
We have code like this:
var widget = self.parent().parent();
But if you theme your widgets differently (e.g. adding some more enclosing DIVs) then this code won't work.
Better code might be like this:
var widget = self.parents('.form-item');
| Comment | File | Size | Author |
|---|---|---|---|
| imagefield_crop.patch | 809 bytes | doq |