Use attr() instead of data() to prevent parsing of json (#2548)
* Use attr() instead of data() to prevent parsing of json A fix for issue #2503 Valid JSON text will be converted to a JSON object, not text , when using .data(). using .attr() prevents this behavior. * Update gitbucket.js Use different methods to get old and head values depending on the object type |
---|
|
src/main/webapp/assets/common/js/gitbucket.js |
---|