Converting four spaces indent to tab indent at editor template javascripts. According to http://code.google.com/p/xe-core/wiki/PHPCodingConvension#Code_Indenting

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10475 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2012-03-26 12:38:29 +00:00
parent 563774c2d2
commit 63b87ce1f0
5 changed files with 676 additions and 669 deletions

View file

@ -50,7 +50,6 @@ function start(cfg) {
settings = {
flash_url : request_uri + 'modules/editor/tpl/images/SWFUpload.swf',
upload_url : request_uri.replace(/^https/i, 'http')+'index.php',
post_params : {
mid : current_mid,
act : 'procFileUpload',
@ -87,6 +86,14 @@ function start(cfg) {
previewAreaID : cfg.previewAreaID,
uploaderStatusID : cfg.uploaderStatusID
};
if(typeof(enforce_ssl) != "undefined" && enforce_ssl == TRUE)
{
settings.upload_url = request_uri+'index.php';
}
else
{
settings.upload_url = request_uri.replace(/^https/i, 'http')+'index.php';
}
// preview
$('#'+cfg.fileListAreaID).click(previewFiles);