// [51034] rpiette - disable all submit buttons until document is ready and ckEditor is loaded
var _ckEditorLoaded = false;
var _submitsToDisable = $("input[type='submit']");
var _ckEditorPresent = (typeof CKEDITOR !== 'undefined');
if (_ckEditorPresent) {
_submitsToDisable.each(function() {
$(this).prop("disabled", true);
});
CKEDITOR.on('instanceReady', function() {
_ckEditorLoaded = true;
});
}