yusuketk 5 ani în urmă
părinte
comite
b64a209660
1 a modificat fișierele cu 1 adăugiri și 10 ștergeri
  1. 1 10
      src/client/js/components/PageEditor/LinkEditModal.jsx

+ 1 - 10
src/client/js/components/PageEditor/LinkEditModal.jsx

@@ -35,11 +35,10 @@ class LinkEditModal extends React.PureComponent {
     this.cancel = this.cancel.bind(this);
     this.cancel = this.cancel.bind(this);
     this.inputChangeHandler = this.inputChangeHandler.bind(this);
     this.inputChangeHandler = this.inputChangeHandler.bind(this);
     this.submitHandler = this.submitHandler.bind(this);
     this.submitHandler = this.submitHandler.bind(this);
-    this.toggleIsUseRelativePath = this.toggleIsUseRelativePath.bind(this);
     this.handleChangeLabelInput = this.handleChangeLabelInput.bind(this);
     this.handleChangeLabelInput = this.handleChangeLabelInput.bind(this);
     this.handleSelecteLinkerType = this.handleSelecteLinkerType.bind(this);
     this.handleSelecteLinkerType = this.handleSelecteLinkerType.bind(this);
+    this.toggleIsUseRelativePath = this.toggleIsUseRelativePath.bind(this);
     this.toggleIsUsePamanentLink = this.toggleIsUsePamanentLink.bind(this);
     this.toggleIsUsePamanentLink = this.toggleIsUsePamanentLink.bind(this);
-    this.showLog = this.showLog.bind(this);
     this.save = this.save.bind(this);
     this.save = this.save.bind(this);
     this.generateLink = this.generateLink.bind(this);
     this.generateLink = this.generateLink.bind(this);
   }
   }
@@ -77,10 +76,6 @@ class LinkEditModal extends React.PureComponent {
     // TODO GW-2659
     // TODO GW-2659
   }
   }
 
 
-  showLog() {
-    console.log(this.state.linkInputValue);
-  }
-
   handleChangeLabelInput(label) {
   handleChangeLabelInput(label) {
     this.setState({ labelInputValue: label });
     this.setState({ labelInputValue: label });
   }
   }
@@ -231,10 +226,6 @@ class LinkEditModal extends React.PureComponent {
               </div>
               </div>
             </div>
             </div>
 
 
-            <div className="col d-none d-lg-block">
-              {this.renderPreview}
-              render preview
-            </div>
             <div className="col-12 col-lg-6">
             <div className="col-12 col-lg-6">
               <div className="d-block d-lg-none">
               <div className="d-block d-lg-none">
                 {this.renderPreview}
                 {this.renderPreview}