mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 18:04:43 +02:00
MDL-49159 mod_lti: Incorrect IDs in tools table
The "_tools" suffix for the IDs of tabs in the tools settings table was being duplicated.
This commit is contained in:
parent
dba564c7db
commit
c86cf01997
@ -43,6 +43,8 @@
|
||||
* @author Jordi Piguillem
|
||||
* @author Nikolas Galanis
|
||||
* @author Chris Scribner
|
||||
* @copyright 2015 Vital Source Technologies http://vitalsource.com
|
||||
* @author Stephen Vickers
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
@ -168,7 +170,7 @@ if ($ADMIN->fulltree) {
|
||||
new Y.YUI2.widget.TabView('lti_tabs');
|
||||
|
||||
var setupTools = function(id, sort){
|
||||
var lti_tools = Y.YUI2.util.Dom.get(id + '_tools');
|
||||
var lti_tools = Y.YUI2.util.Dom.get(id);
|
||||
|
||||
if(lti_tools){
|
||||
var dataSource = new Y.YUI2.util.DataSource(lti_tools);
|
||||
|
Loading…
x
Reference in New Issue
Block a user