From 26535382e552aab004e69c795533988e37f1a6a7 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Wed, 11 Jun 2014 20:30:47 +0100 Subject: [PATCH] Remove setValue call from live extension setup It's already done by the parent, and done in a more complex manner (with whitespace preservation) which this destroys. Change-Id: I0385abe4093223b1804b11d77222cf8212a6360f --- modules/ve-mw/ui/inspectors/ve.ui.MWLiveExtensionInspector.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/ve-mw/ui/inspectors/ve.ui.MWLiveExtensionInspector.js b/modules/ve-mw/ui/inspectors/ve.ui.MWLiveExtensionInspector.js index 417c47dff0..e9fd523022 100644 --- a/modules/ve-mw/ui/inspectors/ve.ui.MWLiveExtensionInspector.js +++ b/modules/ve-mw/ui/inspectors/ve.ui.MWLiveExtensionInspector.js @@ -80,8 +80,6 @@ ve.ui.MWLiveExtensionInspector.prototype.getSetupProcess = function ( data ) { this.getFragment().select(); this.node = this.getFragment().getSelectedNode(); } - this.input.setValue( this.node.getAttribute( 'mw' ).body.extsrc ); - this.input.on( 'change', this.onChangeHandler ); }, this ); };