CFGSEC : action and ledger are set thanks ajax
Inplace_Switch : new class for ajax with a swith button
This commit is contained in:
parent
b712539fe7
commit
08b86a9742
8 changed files with 242 additions and 91 deletions
|
|
@ -111,6 +111,7 @@ EOF;
|
|||
$v=$this->input->get_value();
|
||||
$v=(trim($v)=="")?$this->message:$v;
|
||||
echo $v,
|
||||
"<img src=\"image/button-edit.png\"/>",
|
||||
"
|
||||
<script>
|
||||
$('{$this->input->id}edit').removeClassName('inplace_edit_input');
|
||||
|
|
@ -132,8 +133,10 @@ EOF;
|
|||
$v=$this->input->get_value();
|
||||
$v=(trim($v)=="")?$this->message:$v;
|
||||
echo $v;
|
||||
echo "<img src=\"image/button-edit.png\"/>";
|
||||
echo "</span>";
|
||||
echo "
|
||||
|
||||
<script>
|
||||
{$this->input->id}edit.onclick=function() {
|
||||
new Ajax.Updater('{$this->input->id}edit'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue