Merge pull request #189 from bagisto/jitendra

Jitendra
This commit is contained in:
JItendra Singh 2018-11-28 12:34:05 +05:30 committed by GitHub
commit c7b60ceb96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/js/admin.js": "/js/admin.js?id=f1263c1a00f0c20034d6",
"/js/admin.js": "/js/admin.js?id=3ab4c41f63421ff5a994",
"/css/admin.css": "/css/admin.css?id=201f91bc553baa11139f"
}

View File

@ -32,6 +32,9 @@ $(document).ready(function () {
onSubmit: function (e) {
this.toggleButtonDisable(true);
if(typeof tinyMCE !== 'undefined')
tinyMCE.triggerSave();
this.$validator.validateAll().then(result => {
if (result) {
e.target.submit();

View File

@ -157,11 +157,7 @@
width: "100%",
plugins: 'image imagetools media wordcount save fullscreen code',
toolbar1: 'formatselect | bold italic strikethrough forecolor backcolor | link | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent | removeformat | code',
image_advtab: true,
templates: [
{ title: 'Test template 1', content: 'Test 1' },
{ title: 'Test template 2', content: 'Test 2' }
],
image_advtab: true
});
});
</script>