- Remove $theme_richtext_editor boot var

- Remove "richtext" feature
- Remove fix_mce_lf() function
- Remove nomce parameter
This commit is contained in:
Hypolite Petovan 2017-01-26 22:57:53 -05:00
parent 4ad6a7f073
commit 66482c1d9c
11 changed files with 36 additions and 115 deletions

View file

@ -30,7 +30,7 @@ $(document).ready(function() {
if(typeof window.AjaxUpload != "undefined") {
var uploader = new window.AjaxUpload(
window.imageUploadButton,
{ action: 'wall_upload/'+window.nickname+'?nomce=1',
{ action: 'wall_upload/' + window.nickname,
name: 'userfile',
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
onComplete: function(file,response) {
@ -43,7 +43,7 @@ $(document).ready(function() {
if($('#wall-file-upload').length) {
var file_uploader = new window.AjaxUpload(
'wall-file-upload',
{ action: 'wall_attach/'+window.nickname+'?nomce=1',
{ action: 'wall_attach/' + window.nickname,
name: 'userfile',
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
onComplete: function(file,response) {