Commit e83d9fc7 authored by Sven Franck's avatar Sven Franck

set object properties with quotation marks for Safari

parent b85b82e3
......@@ -131,7 +131,7 @@
* @method login
* @param {object} obj Action Object
*/
login: function (obj) {
"login": function (obj) {
util.setPopupContentPointer(obj, "login");
},
......@@ -140,7 +140,7 @@
* @method export
* @param {object} obj Action Object
*/
export: function (obj) {
"export": function (obj) {
util.setPopupContentPointer(obj, "export");
},
......
......@@ -878,7 +878,6 @@ function ajax(param) {
return new RSVP.Promise(function (resolve, reject, notify) {
var k;
xhr.open(param.type || "GET", param.url, true);
// xhr.setRequestHeader("Content-type","application/json; charset=UTF-8");
if (typeof param.headers === 'object' && param.headers !== null) {
for (k in param.headers) {
if (param.headers.hasOwnProperty(k)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment