mirror of https://github.com/rancher/ui.git
commit
3f7b7868ca
|
|
@ -4,6 +4,7 @@ import layout from './template'
|
|||
import { inject as service } from '@ember/service'
|
||||
import { get, set, observer } from '@ember/object'
|
||||
import { run } from '@ember/runloop';
|
||||
import $ from 'jquery';
|
||||
|
||||
const NONE = 'none';
|
||||
const INCOMPLETE = 'incomplete';
|
||||
|
|
@ -87,6 +88,10 @@ export default Component.extend({
|
|||
set(this, 'expanded', eoi);
|
||||
});
|
||||
}
|
||||
|
||||
if ( $('.accordion-detail-text a').length ) {
|
||||
$('.accordion-detail-text a').attr('onclick', 'event.stopPropagation();');
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
</div>
|
||||
<div class="title">
|
||||
<span class="m-0">{{title}}</span>
|
||||
<p class="help-block">{{detail}}</p>
|
||||
<p class="help-block accordion-detail-text">{{detail}}</p>
|
||||
</div>
|
||||
{{#if showStatus}}
|
||||
<div class="badge-state {{statusClass}}">
|
||||
|
|
|
|||
Loading…
Reference in New Issue