mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-08 02:24:12 +01:00
Compare commits
2 Commits
feature/at
...
support/3.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a95d3f4af | ||
|
|
330e8f48da |
@@ -29,7 +29,7 @@ define('ITOP_APPLICATION_SHORT', 'iTop');
|
|||||||
*
|
*
|
||||||
* @see ITOP_CORE_VERSION to get iTop core version
|
* @see ITOP_CORE_VERSION to get iTop core version
|
||||||
*/
|
*/
|
||||||
define('ITOP_VERSION', '3.2.0-dev');
|
define('ITOP_VERSION', '3.2.1-dev');
|
||||||
|
|
||||||
define('ITOP_VERSION_NAME', 'Fullmoon');
|
define('ITOP_VERSION_NAME', 'Fullmoon');
|
||||||
define('ITOP_REVISION', 'svn');
|
define('ITOP_REVISION', 'svn');
|
||||||
|
|||||||
@@ -383,13 +383,13 @@ class NavigationMenu extends UIBlock implements iKeyboardShortcut
|
|||||||
}
|
}
|
||||||
|
|
||||||
$sPageJS = $oPage->GetJS();
|
$sPageJS = $oPage->GetJS();
|
||||||
|
$oPage->add_ready_script('$(\'[data-role="ibo-navigation-menu--silo-selection--form"] #org_id\').on(\'extkeychange\', function() { $(\'[data-role="ibo-navigation-menu--silo-selection--form"]\').submit(); } );');
|
||||||
|
$oPage->add_ready_script('$(\'[data-role="ibo-navigation-menu--silo-selection--form"] #label_org_id\').on(\'click\', function() { if ($(\'[data-role="ibo-navigation-menu--silo-selection--form"] #org_id\').val() == \'\') { $(this).val(\'\'); } } );');
|
||||||
$sPageReadyJS = $oPage->GetReadyJS();
|
$sPageReadyJS = $oPage->GetReadyJS();
|
||||||
$this->aSiloSelection['js'] =
|
$this->aSiloSelection['js'] =
|
||||||
<<<JS
|
<<<JS
|
||||||
$sPageJS
|
$sPageJS
|
||||||
$sPageReadyJS
|
$sPageReadyJS
|
||||||
$('[data-role="ibo-navigation-menu--silo-selection--form"] #org_id').on('extkeychange', function() { $('[data-role="ibo-navigation-menu--silo-selection--form"]').submit(); } )
|
|
||||||
$('[data-role="ibo-navigation-menu--silo-selection--form"] #label_org_id').on('click', function() { if ($('[data-role="ibo-navigation-menu--silo-selection--form"] #org_id').val() == '') { $(this).val(''); } } );
|
|
||||||
$sAddClearButton
|
$sAddClearButton
|
||||||
JS;
|
JS;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user