mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-02-02 22:51:55 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
616921506b
|
|
@ -361,6 +361,7 @@
|
|||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.45
|
||||
--------------------------------------------------------------------------------
|
||||
- fix rest api endpoint PUT /folder/{id}/comment
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.44
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ function fileExistsInIncludePath($file) { /* {{{ */
|
|||
/**
|
||||
* Load default settings + set
|
||||
*/
|
||||
require_once '../vendor/autoload.php';
|
||||
require_once('../vendor/autoload.php');
|
||||
require_once('../inc/inc.Version.php');
|
||||
$ver = new SeedDMS_Version();
|
||||
define("SEEDDMS_INSTALL", "on");
|
||||
|
|
@ -142,7 +142,7 @@ if(isset($settings->_extraPath))
|
|||
*/
|
||||
$theme = "bootstrap";
|
||||
include("../inc/inc.Language.php");
|
||||
include "../languages/en_GB/lang.inc";
|
||||
include("../languages/en_GB/lang.inc");
|
||||
include("../inc/inc.ClassUI.php");
|
||||
include("class.Install.php");
|
||||
|
||||
|
|
|
|||
|
|
@ -2755,8 +2755,8 @@ final class SeedDMS_RestapiController { /* {{{ */
|
|||
|
||||
$params = $request->getParsedBody();
|
||||
/* Setting an empty comment is allowed. */
|
||||
if ($params['comment']) {
|
||||
return $this->renderer->json($response, array('success'=>false, 'message'=>'You must supply a new name', 'data'=>''))->withStatus(400);
|
||||
if (empty($params['comment'])) {
|
||||
return $this->renderer->json($response, array('success'=>false, 'message'=>'You must supply a new comment', 'data'=>''))->withStatus(400);
|
||||
}
|
||||
|
||||
$newcomment = $params['comment'];
|
||||
|
|
|
|||
|
|
@ -968,7 +968,6 @@ function onAddClipboard(ev) { /* {{{ */
|
|||
return ret;
|
||||
}
|
||||
|
||||
//function createStatusbar(obj) {
|
||||
SeedDMSUpload.createStatusbar = function(obj) {
|
||||
rowCount++;
|
||||
var row="odd";
|
||||
|
|
|
|||
|
|
@ -1002,7 +1002,6 @@ function onAddClipboard(ev) { /* {{{ */
|
|||
return ret;
|
||||
}
|
||||
|
||||
//function createStatusbar(obj) {
|
||||
SeedDMSUpload.createStatusbar = function(obj) {
|
||||
rowCount++;
|
||||
var row="odd";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user