Open davidbarratt opened 10 years ago
Replace in freeform_grid/views/base.js - Lines 89-94
String.prototype.format = function() { var args = arguments; return this.replace(/{(<?php if (REQ != 'CP') echo "\";?>\d+)}/g, function(match, number) { return typeof args[number] != 'undefined' ? args[number] : match; }); };
With this...
String.prototype.format = function() { var args = arguments; return this.replace(/{(\d+)}/g, function(match, number) { return typeof args[number] != 'undefined' ? args[number] : match; }); };
Maybe the module developer can provide insight into why <?php if (REQ != 'CP') echo "\";?> was needed at one point?
This plugin doesn't seem to work correctly with ExpressionEngine 2.8+