mirror of
https://github.com/silverstripe/silverstripe-widgets
synced 2024-10-22 17:05:54 +02:00
Merge pull request #152 from pine3ree/patch-1
use already fetched value
This commit is contained in:
commit
33f173d39b
@ -5,7 +5,7 @@
|
||||
var parentName=$(this).attr('name');
|
||||
this.rewriteWidgetAreaAttributes();
|
||||
|
||||
var availableWidgets=$('#availableWidgets-'+$(this).attr('name')).children().each(function() {
|
||||
var availableWidgets=$('#availableWidgets-'+parentName).children().each(function() {
|
||||
// Don't run on comments, whitespace, etc
|
||||
if($(this)[0].nodeType==1) {
|
||||
// Gotta change their ID's because otherwise we get clashes between two tabs
|
||||
|
Loading…
Reference in New Issue
Block a user