| Line 4: |
Line 4: |
| | | | |
| | var controller_item_id = 96, | | var controller_item_id = 96, |
| − | personal_data_id = 421, | + | personal_data_id = 421, |
| − | interface_button_id = 487, | + | interface_button_id = 487, |
| | | | |
| | language = "en"; | | language = "en"; |
| | + | |
| | wbEStruct = { | | wbEStruct = { |
| | subclassOfRelations: 'claims.P4', // location of P4 relations in wbEntity | | subclassOfRelations: 'claims.P4', // location of P4 relations in wbEntity |
| Line 35: |
Line 36: |
| | recordAdd( PersonalDataDataBaseName, CurrentPerson ); | | recordAdd( PersonalDataDataBaseName, CurrentPerson ); |
| | /* | | /* |
| − | recordUpdate(PersonalDataDataBaseName, CurrentPerson, '', value); | + | recordUpdate(PersonalDataDataBaseName, CurrentPerson, '-', value); |
| | recordCheck(PersonalDataDataBaseName, CurrentPerson); | | recordCheck(PersonalDataDataBaseName, CurrentPerson); |
| | recordDeleteFrom(PersonalDataDataBaseName, CurrentPerson, ) | | recordDeleteFrom(PersonalDataDataBaseName, CurrentPerson, ) |
| Line 79: |
Line 80: |
| | var string_temporary_store_2 = get_Y_from_X ( get_Y_from_X ( get_Y_from_X( obj, wbEStruct['defaultValRelation'] ), '0'), wbEStruct['IDPropLoc'] ); | | var string_temporary_store_2 = get_Y_from_X ( get_Y_from_X ( get_Y_from_X( obj, wbEStruct['defaultValRelation'] ), '0'), wbEStruct['IDPropLoc'] ); |
| | var string_temporary_store_3 = 0; | | var string_temporary_store_3 = 0; |
| − | | + | console.log('*-_-*'); |
| − | mw.notify( | |
| − | $('<input type="text" placeholder="' + string_temporary_store_2 + '" id="' + string_temporary_store_1 + '_' + 0 + '" />'), { autoHide: false } );
| |
| | } | | } |
| | | | |
| Line 135: |
Line 134: |
| | id: 'textinput_' + i | | id: 'textinput_' + i |
| | } ); | | } ); |
| − |
| |
| | | | |
| | textInput[i].on("keydown",function search(e) { | | textInput[i].on("keydown",function search(e) { |
| Line 144: |
Line 142: |
| | }); | | }); |
| | | | |
| − | console.log(textInput[i].getValue()); | + | console.log( textInput[i].getValue() ); |
| − | | |
| | | | |
| | button_new[i].on( 'click', function () { | | button_new[i].on( 'click', function () { |
| Line 386: |
Line 383: |
| | if ( recordcheck.result != undefined ) { | | if ( recordcheck.result != undefined ) { |
| | console.log(recordcheck); | | console.log(recordcheck); |
| − | return recordcheck; | + | return recordcheck.result; |
| | } else { | | } else { |
| | console.log("...else undefined"); | | console.log("...else undefined"); |