mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°3551 - Migrate module to new UIBlock system : Customer Survey
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// Copyright (C) 2010-2021 Combodo SARL
|
||||
// Copyright (C) 2010-2012 Combodo SARL
|
||||
//
|
||||
// This file is part of iTop.
|
||||
//
|
||||
@@ -25,7 +25,7 @@ use Combodo\iTop\Application\UI\Base\Component\Html\Html;
|
||||
* The WizardController provides the "<< Back" feature by storing a stack
|
||||
* of the previous screens. The WizardController also maintains from page
|
||||
* to page a list of "parameters" to be dispayed/edited by each of the steps.
|
||||
* @copyright Copyright (C) 2010-2021 Combodo SARL
|
||||
* @copyright Copyright (C) 2010-2012 Combodo SARL
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
@@ -233,9 +233,9 @@ $('form').each(function () {
|
||||
width: 0
|
||||
}));
|
||||
});
|
||||
$('#btn_back').on('click', function() { $('#wiz_form').data('back', true); });
|
||||
$('#btn_back').click(function() { $('#wiz_form').data('back', true); });
|
||||
|
||||
$('#wiz_form').on('submit', function() {
|
||||
$('#wiz_form').submit(function() {
|
||||
if ($(this).data('back'))
|
||||
{
|
||||
return CanMoveBackward();
|
||||
@@ -346,7 +346,7 @@ on the page's parameters
|
||||
* If a step needs to maintain an internal "state" (for complex steps)
|
||||
* then it's up to the derived class to implement the behavior based on
|
||||
* the internal 'sCurrentState' variable.
|
||||
* @copyright Copyright (C) 2010-2021 Combodo SARL
|
||||
* @copyright Copyright (C) 2010-2012 Combodo SARL
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user