diff --git a/index.php b/index.php index 9a2ae35d32e47aee05ba40084ec256f840659c8e..cb24a560687e7e72c75e0235a386e4b368036f67 100644 --- a/index.php +++ b/index.php @@ -20,7 +20,7 @@ require(CLIENTINC_DIR.'header.inc.php'); <div id="landing_page"> <?php if($cfg && ($page = $cfg->getLandingPage())) - echo $page->getBody(); + echo $page->getBodyWithImages(); else echo '<h1>Welcome to the Support Center</h1>'; ?> diff --git a/js/redactor-osticket.js b/js/redactor-osticket.js index baad02424fa5373f86a32a4c47bf8cc1f37a7844..0fed815da1831b9425a22d6f2702766e1ca81362 100644 --- a/js/redactor-osticket.js +++ b/js/redactor-osticket.js @@ -116,8 +116,7 @@ RedactorPlugins.draft = { self.opts.autosave = self.opts.original_autosave; } }); - }, - + } }; /* Redactor richtext init */ diff --git a/scp/ajax.php b/scp/ajax.php index 61f51055ad7af4b80d7439683221e47320687272..01b41867dd53bc052d5a7b9c8765327b140e3739 100644 --- a/scp/ajax.php +++ b/scp/ajax.php @@ -76,7 +76,7 @@ $dispatcher = patterns('', url_get('^(?P<tid>\d+)/user$', 'viewUser'), url_post('^(?P<tid>\d+)/user$', 'updateUser'), url_get('^(?P<tid>\d+)/preview', 'previewTicket'), - url_post('^(?P<tid>\d+)/lock', 'acquireLock'), + url_post('^(?P<tid>\d+)/lock$', 'acquireLock'), url_post('^(?P<tid>\d+)/lock/(?P<id>\d+)/renew', 'renewLock'), url_post('^(?P<tid>\d+)/lock/(?P<id>\d+)/release', 'releaseLock'), url_get('^(?P<tid>\d+)/collaborators/manage$', 'showCollaborators'), diff --git a/scp/js/scp.js b/scp/js/scp.js index 594bb21c8e31b7c78dbe0795180b3ac2d3df86d1..f7ebafcc2fcb2abd05be72f830bcb93222f2d199 100644 --- a/scp/js/scp.js +++ b/scp/js/scp.js @@ -293,7 +293,7 @@ $(document).ready(function(){ showButtonPanel: true, buttonImage: './images/cal.png', showOn:'both', - dateFormat: $.translate_format(c.date_format||'m/d/Y'), + dateFormat: $.translate_format(c.date_format||'m/d/Y') }); $(document).on('submit', 'form', function() { $('.dp', $(this)).each(function(i, e) {