10.2.dev30 formulaire ouvert mauvais message
This commit is contained in:
parent
6b2c44c3fc
commit
0ac70c9f51
@ -260,10 +260,10 @@ core.start = function() {
|
||||
var fileName = inputFileHiddenDOM.val();
|
||||
if(fileName === "") {
|
||||
fileName = "Choisissez un fichier";
|
||||
$(".inputFileDelete").addClass("disabled");
|
||||
$(inputFileHiddenDOM).addClass("disabled");
|
||||
}
|
||||
else {
|
||||
$(".inputFileDelete").removeClass("disabled");
|
||||
$(inputFileHiddenDOM).removeClass("disabled");
|
||||
}
|
||||
inputFileHiddenDOM.parent().find(".inputFileLabel").text(fileName);
|
||||
}).trigger("change");
|
||||
|
@ -39,7 +39,7 @@ class common {
|
||||
const ACCESS_TIMER = 1800;
|
||||
|
||||
// Numéro de version
|
||||
const ZWII_VERSION = '10.2.00.dev28';
|
||||
const ZWII_VERSION = '10.2.00.dev30';
|
||||
const ZWII_UPDATE_CHANNEL = "v10";
|
||||
|
||||
public static $actions = [];
|
||||
@ -1668,7 +1668,8 @@ class core extends common {
|
||||
*/
|
||||
foreach($this->getData(['user']) as $userId => $userIds){
|
||||
$t = explode('/',$this->getData(['user', $userId, 'accessUrl']));
|
||||
if ( $userId !== $this->getuser('id') &&
|
||||
if ( $this->getuser('id') &&
|
||||
$userId !== $this->getuser('id') &&
|
||||
$this->getData(['user', $userId,'accessUrl']) === $this->getUrl() &&
|
||||
array_intersect($t,self::$accessList) &&
|
||||
array_intersect($t,self::$accessExclude) !== false &&
|
||||
|
Loading…
Reference in New Issue
Block a user