Minor - remove console.log

pull/3600/head^2
Julio Montoya 5 years ago
parent eb704374eb
commit b52c33db24
  1. 2
      main/exercise/question.class.php

@ -1675,12 +1675,10 @@ abstract class Question
}); });
$("input[name=\'imageZoom\']").on("click", function(){ $("input[name=\'imageZoom\']").on("click", function(){
console.log("click en campo");
var elf = $("#elfinder").elfinder({ var elf = $("#elfinder").elfinder({
url : "'.api_get_path(WEB_LIBRARY_PATH).'elfinder/connectorAction.php?'.api_get_cidreq().'", url : "'.api_get_path(WEB_LIBRARY_PATH).'elfinder/connectorAction.php?'.api_get_cidreq().'",
getFileCallback: function(file) { getFileCallback: function(file) {
var filePath = file; //file contains the relative url. var filePath = file; //file contains the relative url.
console.log(filePath);
var imgPath = "<img src = \'"+filePath+"\'/>"; var imgPath = "<img src = \'"+filePath+"\'/>";
$("input[name=\'imageZoom\']").val(filePath.url); $("input[name=\'imageZoom\']").val(filePath.url);
$("#elfinder").remove(); //close the window after image is selected $("#elfinder").remove(); //close the window after image is selected

Loading…
Cancel
Save