Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Corrected bindConditionalShow

  • Loading branch information...
commit c8c010851ce214405324e7c22cd5d3030dbb5611 1 parent 618fed5
Gowrav Vishwakarma authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  templates/js/atk4_univ.js
2  templates/js/atk4_univ.js
View
@@ -508,7 +508,7 @@ bindConditionalShow: function(conditions,tag){
var n=f.closest('form').parent();
if(!n.attr('id'))n=n.parent();
n=n.attr('id');
-
+ n=n.substring(0,n.length - 5); //Form name has another _form at the end which is not part of field ids at atk4/lib/Form/basic.php line 108
if(typeof tag == 'undefined')tag='div.atk-row';
var sel=function(name){
Please sign in to comment.
Something went wrong with that request. Please try again.