Changes

Jump to navigation Jump to search
m
no edit summary
Line 116: Line 116:  
button_export = new OO.ui.ButtonWidget( { label: "Export Personal Data", classes: [ 'pduimark' ] } );
 
button_export = new OO.ui.ButtonWidget( { label: "Export Personal Data", classes: [ 'pduimark' ] } );
   −
button_import.on( 'change', function () {
+
button_import.on( 'change', function (event) {
    
if (window.webkitURL != null) {
 
if (window.webkitURL != null) {
Line 124: Line 124:  
}
 
}
   −
var imp_obj = JSON.parse( button_import.$content );
+
var imp_obj = JSON.parse( event.target.result );
 
console.log( imp_obj );
 
console.log( imp_obj );
  
530

edits

Navigation menu