mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
File Inspector UI enhancements.
This commit is contained in:
@@ -591,6 +591,7 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
|
||||
// BC.
|
||||
if(options.target && options.target.charAt(0) != "#" && options.target.charAt(0) != ".")
|
||||
{
|
||||
console.log('BC Mode: adding # to target');
|
||||
options.target = "#" + options.target;
|
||||
}
|
||||
|
||||
@@ -653,7 +654,15 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
|
||||
// If result is a simple text/html.
|
||||
e107.callbacks.ajaxResponseHandler($target, options, response);
|
||||
}
|
||||
}
|
||||
},
|
||||
error: function(response)
|
||||
{
|
||||
|
||||
console.log("e-ajax Error");
|
||||
console.log("e-ajax URL: "+options.url);
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user