mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 08:39:58 +09:00
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:
parent
563774c2d2
commit
63b87ce1f0
5 changed files with 676 additions and 669 deletions
|
|
@ -50,7 +50,6 @@ function start(cfg) {
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
flash_url : request_uri + 'modules/editor/tpl/images/SWFUpload.swf',
|
flash_url : request_uri + 'modules/editor/tpl/images/SWFUpload.swf',
|
||||||
upload_url : request_uri.replace(/^https/i, 'http')+'index.php',
|
|
||||||
post_params : {
|
post_params : {
|
||||||
mid : current_mid,
|
mid : current_mid,
|
||||||
act : 'procFileUpload',
|
act : 'procFileUpload',
|
||||||
|
|
@ -87,6 +86,14 @@ function start(cfg) {
|
||||||
previewAreaID : cfg.previewAreaID,
|
previewAreaID : cfg.previewAreaID,
|
||||||
uploaderStatusID : cfg.uploaderStatusID
|
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
|
// preview
|
||||||
$('#'+cfg.fileListAreaID).click(previewFiles);
|
$('#'+cfg.fileListAreaID).click(previewFiles);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue