attachment preview: some small corrections
This commit is contained in:
parent
dcf072e77d
commit
ba03ec857a
|
@ -46,7 +46,7 @@ function parse_url_content(App $a)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_GET['dataType']) && $_GET['dataType'] == 'json') {
|
if (isset($_GET['format']) && $_GET['format'] == 'json') {
|
||||||
$format = 'json';
|
$format = 'json';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
|
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
|
||||||
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
|
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
|
||||||
*
|
*
|
||||||
* Restructured from Rabzuarus (https://friendica.kommune4.de/profile/rabuzarus)
|
* Restructured by Rabzuarus (https://friendica.kommune4.de/profile/rabuzarus)
|
||||||
* to use it for the decental social network Friendica (https://friendi.ca).
|
* to use it in the decentralized social network Friendica (https://friendi.ca).
|
||||||
*
|
*
|
||||||
* Version: 1.4.0
|
* Version: 1.4.0
|
||||||
*/
|
*/
|
||||||
|
@ -180,7 +180,7 @@
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
var getContentData = function(binurl, callback) {
|
var getContentData = function(binurl, callback) {
|
||||||
$.get('parse_url?binurl='+ binurl + '&dataType=json', function (answer) {
|
$.get('parse_url?binurl='+ binurl + '&format=json', function (answer) {
|
||||||
obj = sanitizeInputData(answer);
|
obj = sanitizeInputData(answer);
|
||||||
|
|
||||||
// Put the data into a cache
|
// Put the data into a cache
|
||||||
|
|
|
@ -1408,7 +1408,7 @@ textarea#profile-jot-text:focus + #preview_profile-jot-text {
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ACL
|
/* ACL */
|
||||||
/*#jot-modal-body {
|
/*#jot-modal-body {
|
||||||
height: auto;
|
height: auto;
|
||||||
max-height: calc(100vh - 130px);
|
max-height: calc(100vh - 130px);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// We apptend the linkPreview to a global Variable to make linkPreview
|
// We append the linkPreview to a global Variable to make linkPreview
|
||||||
// accessable on other places. Note: search on other places before you
|
// accessable on other places. Note: search on other places before you
|
||||||
// delete or move the variable.
|
// delete or move the variable.
|
||||||
var linkPreview;
|
var linkPreview;
|
||||||
|
|
Loading…
Reference in a new issue