From de545935560f9d3c28ff35da2d9a179279b68a40 Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 13 Dec 2006 10:42:43 +0000 Subject: Invalidate #413 --- .gitattributes | 2 + .../tickets/protected/pages/Ticket413.page | 65 ++++++++++++++++++++++ .../tickets/protected/pages/Ticket413.php | 31 +++++++++++ 3 files changed, 98 insertions(+) create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket413.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket413.php diff --git a/.gitattributes b/.gitattributes index a4aa0858..6aa18e2f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2288,6 +2288,8 @@ tests/FunctionalTests/tickets/protected/pages/Ticket359.page -text tests/FunctionalTests/tickets/protected/pages/Ticket359.php -text tests/FunctionalTests/tickets/protected/pages/Ticket384.page -text tests/FunctionalTests/tickets/protected/pages/Ticket384.php -text +tests/FunctionalTests/tickets/protected/pages/Ticket413.page -text +tests/FunctionalTests/tickets/protected/pages/Ticket413.php -text tests/FunctionalTests/tickets/protected/pages/Ticket422.page -text tests/FunctionalTests/tickets/protected/pages/Ticket422.php -text tests/FunctionalTests/tickets/protected/pages/Ticket433.page -text diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket413.page b/tests/FunctionalTests/tickets/protected/pages/Ticket413.page new file mode 100644 index 00000000..90f8226c --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket413.page @@ -0,0 +1,65 @@ + + + + + + +

+ + + + + + To edit an existing location name simply edit one of the fields below: + + + + + + + + + +

+ + +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket413.php b/tests/FunctionalTests/tickets/protected/pages/Ticket413.php new file mode 100644 index 00000000..1da32b52 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket413.php @@ -0,0 +1,31 @@ +'ITN001','name'=>'Motherboard','quantity'=>1,'price'=>100.00,'imported'=>true), + array('id'=>'ITN002','name'=>'CPU','quantity'=>1,'price'=>150.00,'imported'=>true), + array('id'=>'ITN003','name'=>'Harddrive','quantity'=>2,'price'=>80.00,'imported'=>true), + array('id'=>'ITN004','name'=>'Sound card','quantity'=>1,'price'=>40.00,'imported'=>false)); + public function onLoad($param) + { + parent::onLoad($param); + + if (!$this->IsPostBack) + { + $this->locations_datagrid->setDataSource($this->_data); + $this->locations_datagrid->dataBind(); + } + + } + + public function bla($sender, $param) + { + $sender->Text = 'a'; + } + +} + +?> \ No newline at end of file -- cgit v1.2.3