mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX Changed CSS selector for TranslationTab javascript behaviour to be less specific
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73343 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
caa961e4fb
commit
a2541c2949
@ -1,7 +1,6 @@
|
||||
Behaviour.register({
|
||||
'div.inlineformaction input#Form_EditForm_createtranslation': {
|
||||
onclick: function() {
|
||||
|
||||
'input#Form_EditForm_createtranslation': {
|
||||
onclick: function(e) {
|
||||
var st = $('sitetree');
|
||||
var originalID = st.getIdxOf(st.firstSelected());
|
||||
if(originalID && originalID.substr(0,3) == 'new') {
|
||||
|
Loading…
Reference in New Issue
Block a user