mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix show formatting help not appearing (#6423)
This commit is contained in:
parent
e893fc4c51
commit
7c76d2cb09
4
admin/client/dist/js/bundle.js
vendored
4
admin/client/dist/js/bundle.js
vendored
@ -1704,7 +1704,9 @@ n(166),a["default"].entwine("ss",function(e){e(".ss-toggle").entwine({onadd:func
|
||||
}}})})},function(e,t,n){"use strict"
|
||||
function i(e){return e&&e.__esModule?e:{"default":e}}var r=n(1),a=i(r)
|
||||
a["default"].entwine("ss",function(e){e(".memberdatetimeoptionset").entwine({onmatch:function t(){this.find(".toggle-content").hide(),this._super()}}),e(".memberdatetimeoptionset .toggle").entwine({onclick:function n(t){
|
||||
return e(this).closest(".form__field-description").parent().find(".toggle-content").toggle(),!1}})})},function(e,t,n){(function(e){"use strict"
|
||||
t.preventDefault()
|
||||
var n=e(this).closest(".form__field-description").parent().find(".toggle-content")
|
||||
n.is(":visible")?n.hide():n.show()}})})},function(e,t,n){(function(e){"use strict"
|
||||
function t(e){return e&&e.__esModule?e:{"default":e}}var i=n(1),r=t(i),a=n(114),o=t(a)
|
||||
n(196),n(197),r["default"].entwine("ss",function(t){var n,i
|
||||
t(window).bind("resize.treedropdownfield",function(){var e=function o(){t(".TreeDropdownField").closePanel()}
|
||||
|
@ -11,8 +11,16 @@ $.entwine('ss', function($){
|
||||
|
||||
$('.memberdatetimeoptionset .toggle').entwine({
|
||||
onclick: function(e) {
|
||||
$(this).closest('.form__field-description').parent().find('.toggle-content').toggle();
|
||||
return false;
|
||||
e.preventDefault();
|
||||
|
||||
var content = $(this).closest('.form__field-description').parent()
|
||||
.find('.toggle-content');
|
||||
|
||||
if(content.is(":visible")) {
|
||||
content.hide();
|
||||
} else {
|
||||
content.show();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user