link_dialog=$("<div class='popup' title='Copy and paste this text to embed this report in another page:'><textarea id='embed_link' rows=4 style='width: 99%;font-size: 85%;'>#{link_comment}
#{link_text}</textarea></div>")
link_dialog=$("<div class='popup' title='Copy and paste this text to embed this view in a Custom Report:'><textarea id='embed_link' rows=5 style='width: 99%;font-size: 85%;resize: vertical'>#{link_comment}
#{link_text}
</textarea></div>")
#link_dialog.text("#{link_comment}#{link_text}")
link_dialog.dialog({
...
...
@@ -62,6 +62,7 @@ get_embed_link = ->
$("#embed_link").select()
success=document.execCommand("copy")
}
close:->$(this).dialog('destroy').remove()
})
# Sets the visibility of elements in the list of ids 'ctrl_list'.
link_dialog=$("<div class='popup' title='Copy and paste this text to embed this report in another page:'><textarea id='embed_link' rows=4 style='width: 99%;font-size: 85%;'>"+link_comment+"
"+link_text+"</textarea></div>");
link_dialog=$("<div class='popup' title='Copy and paste this text to embed this view in a Custom Report:'><textarea id='embed_link' rows=5 style='width: 99%;font-size: 85%;resize: vertical'>"+link_comment+"
"+link_text+"
</textarea></div>");
"names":[".call","REFRESH_MS","SENSOR_MULTI_CONFIG","_auto_recalc","_loading_inputs","_refresh_timer","get_embed_link","handleUrlQuery","inputs_changed","process_chart_change","serializedInputs","set_visibility","update_bldg_list","update_chart_sensor_lists","update_results","urlQueryString","indexOf","item","i","l","length","history","replaceState","concat","pushState","$","serialize","css","getJSON","text","done","results","empty","html","each","objects","ix","obj","obj_config","obj_type","Plotly","plot","renderTo","data","layout","config","ANdash","createDashboard","fail","jqxhr","textStatus","error","err","alert","link_comment","link_dialog","link_text","title","document","getElementById","innerText","dialog","Copy to Clipboard","select","execCommand","ctrl_list","show","ctrl","element","len","trim","find","prop","hide","setInterval","selected_chart_option","sensor_ctrl","vis_ctrls","split","clearInterval","attr","off","multiselect","removeAttr","change","url","val","ajax","success","charts","sensors","trigger","window","on","queryStart","location","href","substr","name","params","sortedNames","value","replace","name_value","decodeURIComponent","push","names","call","hasOwnProperty","ctrls","d","tooltip","buttonset","datepicker","Date","getMonth","getDate","getFullYear","button","click"]
"names":[".call","REFRESH_MS","SENSOR_MULTI_CONFIG","_auto_recalc","_loading_inputs","_refresh_timer","get_embed_link","handleUrlQuery","inputs_changed","process_chart_change","serializedInputs","set_visibility","update_bldg_list","update_chart_sensor_lists","update_results","urlQueryString","indexOf","item","i","l","length","history","replaceState","concat","pushState","$","serialize","css","getJSON","text","done","results","empty","html","each","objects","ix","obj","obj_config","obj_type","Plotly","plot","renderTo","data","layout","config","ANdash","createDashboard","fail","jqxhr","textStatus","error","err","alert","link_comment","link_dialog","link_text","title","document","getElementById","innerText","dialog","Copy to Clipboard","select","execCommand","close","remove","ctrl_list","show","ctrl","element","len","trim","find","prop","hide","setInterval","selected_chart_option","sensor_ctrl","vis_ctrls","split","clearInterval","attr","off","multiselect","removeAttr","change","url","val","ajax","success","charts","sensors","trigger","window","on","queryStart","location","href","substr","name","params","sortedNames","value","replace","name_value","decodeURIComponent","push","names","call","hasOwnProperty","ctrls","d","tooltip","buttonset","datepicker","Date","getMonth","getDate","getFullYear","button","click"]