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:
spvickers 2015-02-27 11:32:34 -07:00
parent dba564c7db
commit c86cf01997

View File

@ -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);