mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
PHPDoc
This commit is contained in:
@@ -1,8 +1,31 @@
|
|||||||
/*
|
/*
|
||||||
* Patches for bootstrap 3 as it is no longer maintained by its editor
|
* Copyright (C) 2013-2019 Combodo SARL
|
||||||
|
*
|
||||||
|
* This file is part of iTop.
|
||||||
|
*
|
||||||
|
* iTop is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* iTop is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
*
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//N°2166: Fix a boostrap/CKeditor incompatibility with their respective modals (source: https://stackoverflow.com/a/31679096)
|
/*
|
||||||
|
* Patches for bootstrap 3 as it is no longer maintained by its editor
|
||||||
|
*
|
||||||
|
* @author Stephen Abello <stephen.abello@combodo.com>
|
||||||
|
* @since 2.6.2
|
||||||
|
*/
|
||||||
|
|
||||||
|
//N°2166: Fix a bootstrap/CKeditor incompatibility with their respective modals (source: https://stackoverflow.com/a/31679096)
|
||||||
$.fn.modal.Constructor.prototype.enforceFocus = function() {
|
$.fn.modal.Constructor.prototype.enforceFocus = function() {
|
||||||
$( document )
|
$( document )
|
||||||
.off( 'focusin.bs.modal' ) // guard against infinite focus loop
|
.off( 'focusin.bs.modal' ) // guard against infinite focus loop
|
||||||
|
|||||||
Reference in New Issue
Block a user