[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 60/219: Inplace_Edit : improve button + test
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 60/219: Inplace_Edit : improve button + test |
Date: |
Mon, 18 Dec 2017 13:22:38 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 85fb1d0a02e36ae49224706e20f3e0abb234081b
Author: Dany De Bontridder <address@hidden>
Date: Tue Sep 26 22:56:27 2017 +0200
Inplace_Edit : improve button + test
---
scenario/inplace_edit.test.php | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/scenario/inplace_edit.test.php b/scenario/inplace_edit.test.php
index 6800165..5f2acfb 100644
--- a/scenario/inplace_edit.test.php
+++ b/scenario/inplace_edit.test.php
@@ -33,15 +33,14 @@ if (!isset($_REQUEST["TestAjaxFile"])) {
/***********************************************
* If TestAjaxFile is not set it is not a ajax call
*********************************************** */
- $hello = new IText("hello");
- $hello->value = "2012";
+ $hello = new IText("hello","Click me");
$hello->id = "hello_ajax";
$ajax_hello = new Inplace_Edit($hello);
$ajax_hello->set_callback("ajax_test.php");
$ajax_hello->add_json_param("TestAjaxFile", __FILE__) ;
$ajax_hello->add_json_param("gDossier", Dossier::id());
- echo $ajax_hello->input();
+ echo "#".$ajax_hello->input()."#";
} else {
@@ -55,7 +54,7 @@ if (!isset($_REQUEST["TestAjaxFile"])) {
$ajax_hello->set_callback("ajax_test.php");
$ajax_hello->add_json_param("TestAjaxFile", __FILE__);
$ajax_hello->add_json_param("gDossier", Dossier::id());
- echo $ajax_hello->ajax_input();
+ echo " [ ".$ajax_hello->ajax_input()." ] ";
}
if ( $action == "ok") {
$ajax_hello = Inplace_Edit::build($input);
- [Noalyss-commit] [noalyss] 28/219: Task #0001447: Solde des opérations rapprochées Take in account the VAT autopurged, (continued)
- [Noalyss-commit] [noalyss] 28/219: Task #0001447: Solde des opérations rapprochées Take in account the VAT autopurged, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 15/219: Infobulle : info : esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 38/219: task #0001411: Faire des boutons du menu des... boutons, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 95/219: Recording operation : when adding a row , the css class was not copied, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 02/219: Improve redirect, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 87/219: Esthetic : no span surrounding the value, must be done in the caller, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 140/219: Javascript : small error, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 115/219: Correct indentation, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 68/219: HttpInput : do not use isset but in_array, to avoid problem if the value is null, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 58/219: Correct : json function, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 60/219: Inplace_Edit : improve button + test,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 132/219: Manage_Table_SQL : add a function to set the order, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 110/219: task #0001271: Rendre possible un copier/coller du résultat de la calculatrice. Add a button to Pin a box, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 03/219: Improve redirect, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 97/219: esthetic style-r692 : size icon, arrow ..., Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 08/219: profil : CFGPRO , correct, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 11/219: Infobulle : esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 73/219: Esthetic : History , improve place of button, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 184/219: Icon move / fix Correct button_anchor to avoid the message "javascript:void(0)", Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 43/219: Add the icon for modify, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 12/219: Infobulle : warning : esthetic, Dany De Bontridder, 2017/12/18