From 7785a3bdfc29b353e71cdd03ca9fc85b235f7237 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 24 Aug 2009 11:47:43 +0000 Subject: [PATCH] Add warning if module need javascript --- htdocs/includes/modules/modImport.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/includes/modules/modImport.class.php b/htdocs/includes/modules/modImport.class.php index ad6355fc5b5..1e6324616e1 100644 --- a/htdocs/includes/modules/modImport.class.php +++ b/htdocs/includes/modules/modImport.class.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2005-2009 Laurent Destailleur * Copyright (C) 2005-2009 Regis Houssin * * 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->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->special = 0; - $this->picto=''; + $this->picto = ''; + $this->need_javascript = 1; // Data directories to create when module is enabled $this->dirs = array("/import/temp");