Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/main.js b/main.js
- index 0e2a133..32e8576 100644
- --- a/main.js
- +++ b/main.js
- @@ -246,22 +246,15 @@ function level_select()
- {
- // Find out which row was selected in table and get info
- var table = Config.level_table;
- - var selection = null;
- var aTrs = table.fnGetNodes();
- for ( var i=0 ; i<aTrs.length ; i++ )
- {
- if ( $(aTrs[i]).hasClass('row_selected') )
- {
- - selection = i;
- - break;
- + return table.fnGetData(i);
- }
- }
- - if(selection == null)
- - return;
- -
- - var d = table.fnGetData(selection);
- - return d;
- }
- function reset(areyousure)
Add Comment
Please, Sign In to add comment