mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +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({
|
Behaviour.register({
|
||||||
'div.inlineformaction input#Form_EditForm_createtranslation': {
|
'input#Form_EditForm_createtranslation': {
|
||||||
onclick: function() {
|
onclick: function(e) {
|
||||||
|
|
||||||
var st = $('sitetree');
|
var st = $('sitetree');
|
||||||
var originalID = st.getIdxOf(st.firstSelected());
|
var originalID = st.getIdxOf(st.firstSelected());
|
||||||
if(originalID && originalID.substr(0,3) == 'new') {
|
if(originalID && originalID.substr(0,3) == 'new') {
|
||||||
|
Loading…
Reference in New Issue
Block a user