mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 18:18:18 +01:00
mise jour de Prototype : version 1.6.0_rc0
dbut gestion taux de marge (encore en dev mais dsactiv par dfaut)
This commit is contained in:
@@ -677,4 +677,27 @@ function dialogConfirm(linkurl,message,ok,cancel,objectID) {
|
||||
==================================================================*/
|
||||
function dialogInfo(message) {
|
||||
Dialog.info(message, {width:700});
|
||||
}
|
||||
|
||||
/*=================================================================
|
||||
Purpose: Affiche une fenetre
|
||||
Input: message
|
||||
Author: Regis Houssin
|
||||
Licence: GPL
|
||||
==================================================================*/
|
||||
function dialogWindow(message,windowTitle) {
|
||||
var win = new Window({className: "dialog",
|
||||
width:600,
|
||||
height:400,
|
||||
zIndex: 100,
|
||||
resizable: false,
|
||||
title: windowTitle,
|
||||
showEffect:Effect.BlindDown,
|
||||
hideEffect: Effect.SwitchOff,
|
||||
draggable:true
|
||||
})
|
||||
/*win.setHTMLContent(message);*/
|
||||
/*win.getContent().innerHTML = message;*/
|
||||
win.getContent().update(message);
|
||||
win.showCenter();
|
||||
}
|
||||
Reference in New Issue
Block a user