Browse Source

This partially addresses #43.

devel
Jonathan Rosenbaum 7 years ago
parent
commit
8aae19686b
  1. 4
      Connections/database_functions.php
  2. 5
      shop_log.php

4
Connections/database_functions.php

@ -281,9 +281,9 @@ define('SHOW_SHOP_ID',0);
**************/
// Allow comments/feedback/notes to be added per individual_history_log in reports,
// and globally in shop_log. An etherpad host has to be defined for this to work.
// See wiki for instructions on how to setup an etherpad docker instance.r
// See wiki for instructions on how to setup an etherpad docker instance.
//
// prefix allows you to set a prefix to the name of the autogenerated padID:
// prefix allows you to set a prefix to the name of the autogenerated padId:
// etherpad = prefix + "pad_contact_id_" + contact_id;
// etherpad_global = prefix_ + "global_pad"
// See https://github.com/ether/etherpad-lite-jquery-plugin for information about other configurations.

5
shop_log.php

@ -76,6 +76,9 @@ if($_GET['new_user_id']>0){
$( window ).on( "load", function() {
if ( $("#epframeshop_log_pad").length ) {
var body_margin = $("#shop_log_iframe").contents().find("body").css("margin");
body_margin = body_margin.replace("px","");
body_margin = body_margin * 4;
@ -99,6 +102,8 @@ if($_GET['new_user_id']>0){
});
} // if etherpad
}); // end $( window ).on

Loading…
Cancel
Save