mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
upgraded Ember and Bootstrap, merged changes
This commit is contained in:
parent
b4fd42da38
commit
5dd7d9c181
114 changed files with 9814 additions and 1361 deletions
|
@ -9,6 +9,7 @@
|
|||
//
|
||||
// https://documize.com
|
||||
|
||||
import $ from 'jquery';
|
||||
import Component from '@ember/component';
|
||||
import stringUtil from '../../utils/string';
|
||||
|
||||
|
@ -56,7 +57,8 @@ export default Component.extend({
|
|||
return;
|
||||
}
|
||||
|
||||
let result = this.attrs.onAction();
|
||||
let cb = this.get('onAction');
|
||||
let result = cb();
|
||||
if (result) {
|
||||
this.set('show', false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue