Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
#274 Look for the corresponding toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
amazeika committed Jun 14, 2021
1 parent 925fa4d commit 5ac8321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/resources/assets/js/kodekit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ Koowa.Controller = Koowa.Class.extend({
this.options.url = this.form.attr('action');
}

this.toolbar = $(this.options.toolbar);
this.toolbar = this.form.parents('.k-ui-namespace').find(this.options.toolbar);
this.form.data('controller', this);

this.on('execute', function(){
Expand Down

0 comments on commit 5ac8321

Please sign in to comment.