mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX: removing colon (:) from selectors throughout SilverStripe. jQuery 1.5 is stricter about what is allowed in a selector and the colon is not allowed for elements like :select.
This commit is contained in:
parent
a394831013
commit
f380d88c80
@ -59,7 +59,7 @@
|
||||
|
||||
// special case: we can't use CMSSiteTreeFilter together with other options
|
||||
this.find('select[name=FilterClass]').change(function(e) {
|
||||
var others = self.find('.field').not($(this).parents('.field')).find(':input,:select');
|
||||
var others = self.find('.field').not($(this).parents('.field')).find(':input,select');
|
||||
if(e.target.value == 'CMSSiteTreeFilter_Search') others.removeAttr('disabled');
|
||||
else others.attr('disabled','disabled');
|
||||
})
|
||||
|
@ -114,7 +114,7 @@
|
||||
// Note: Uses siteTreeHints global
|
||||
var tree = this.getTree(),
|
||||
origOptions = this.getOrigOptions(),
|
||||
dropdown = this.find(':select[name=PageType]');
|
||||
dropdown = this.find('select[name=PageType]');
|
||||
if(!selectedNode) selectedNode = tree.firstSelected();
|
||||
|
||||
// Clear all existing <option> elements
|
||||
|
@ -363,7 +363,7 @@
|
||||
/**
|
||||
* Class: #Form_BatchActionsForm :select[name=Action]
|
||||
*/
|
||||
$('#Form_BatchActionsForm :select[name=Action]').entwine({
|
||||
$('#Form_BatchActionsForm select[name=Action]').entwine({
|
||||
|
||||
/**
|
||||
* Function: onchange
|
||||
|
Loading…
Reference in New Issue
Block a user