mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 06:07:07 +00:00
Have images saved to correct place, when edited in the cave or entrance view. etc
This commit is contained in:
@@ -173,11 +173,14 @@
|
||||
function add_image_popup(editor) {
|
||||
$('.add-image-popup').addClass('active');
|
||||
window.current_editor = editor;
|
||||
var path = ""; //Can we get rid of this variable?
|
||||
/*
|
||||
{% if not path %}
|
||||
var path = $("#id_url").val();
|
||||
{% else %}
|
||||
var path = "";
|
||||
{% endif %}
|
||||
*/
|
||||
$('#image_popup_content').load("{% url 'image_selector' path %}" + path, function() {
|
||||
$('.thumbnail').click(function(){
|
||||
$(".add-image-popup").removeClass("active");
|
||||
|
||||
Reference in New Issue
Block a user