mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove old debug message
This commit is contained in:
parent
d411728be6
commit
b29db6f258
@ -444,6 +444,10 @@ function initializeRelatedField(modal, name, field, options) {
|
|||||||
*/
|
*/
|
||||||
function renderModelData(name, model, data, paramaters, options) {
|
function renderModelData(name, model, data, paramaters, options) {
|
||||||
|
|
||||||
|
if (!data) {
|
||||||
|
return '{% trans "Searching" %}...';
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: Implement this function for various models
|
// TODO: Implement this function for various models
|
||||||
|
|
||||||
var html = null;
|
var html = null;
|
||||||
|
@ -991,8 +991,6 @@ function hideModalImage() {
|
|||||||
function showModalImage(image_url) {
|
function showModalImage(image_url) {
|
||||||
// Display full-screen modal image
|
// Display full-screen modal image
|
||||||
|
|
||||||
console.log('showing modal image: ' + image_url);
|
|
||||||
|
|
||||||
var modal = $('#modal-image-dialog');
|
var modal = $('#modal-image-dialog');
|
||||||
|
|
||||||
// Set image content
|
// Set image content
|
||||||
|
Loading…
Reference in New Issue
Block a user