Add warning if module need javascript
This commit is contained in:
parent
75dec61d2c
commit
7785a3bdfc
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2005-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2005-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
|
* Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -53,7 +53,8 @@ class modImport extends DolibarrModules
|
|||||||
$this->version = 'development'; // 'experimental' or 'dolibarr' or version
|
$this->version = 'development'; // 'experimental' or 'dolibarr' or version
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
$this->picto='';
|
$this->picto = '';
|
||||||
|
$this->need_javascript = 1;
|
||||||
|
|
||||||
// Data directories to create when module is enabled
|
// Data directories to create when module is enabled
|
||||||
$this->dirs = array("/import/temp");
|
$this->dirs = array("/import/temp");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user