aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-25 19:23:21 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-25 19:23:21 -0700
commit2d471e39dcdaebbe8c60e50e39f23c430b665419 (patch)
tree5f42e8de02d291358cc3bf4636e7c737a0ea4053 /view
parente5dec8671e02836312ab9425b99db6960ae22792 (diff)
downloadvolse-hubzilla-2d471e39dcdaebbe8c60e50e39f23c430b665419.tar.gz
volse-hubzilla-2d471e39dcdaebbe8c60e50e39f23c430b665419.tar.bz2
volse-hubzilla-2d471e39dcdaebbe8c60e50e39f23c430b665419.zip
this is weird
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js2
-rwxr-xr-xview/tpl/jot-header.tpl4
-rwxr-xr-xview/tpl/msg-header.tpl4
3 files changed, 5 insertions, 5 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 20b23b7ed..77184465d 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -135,7 +135,7 @@ function insertCommentURL(comment, id) {
if(reply && reply.length) {
reply = bin2hex(reply);
$('body').css('cursor', 'wait');
- $.get('urlinfo?f=&binurl=' + reply, function(data) {
+ $.get('linkinfo?f=&binurl=' + reply, function(data) {
var tmpStr = $("#comment-edit-text-" + id).val();
if(tmpStr == comment) {
tmpStr = "";
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 424d856e3..49369ab63 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -191,7 +191,7 @@ function enableOnUser(){
if(reply && reply.length) {
reply = bin2hex(reply);
$('#profile-rotator').spin('tiny');
- $.get('{{$baseurl}}/urlinfo?f=&binurl=' + reply, function(data) {
+ $.get('{{$baseurl}}/linkinfo?f=&binurl=' + reply, function(data) {
addeditortext(data);
$('#profile-rotator').spin(false);
});
@@ -258,7 +258,7 @@ function enableOnUser(){
if(reply && reply.length) {
reply = bin2hex(reply);
$('#profile-rotator').spin('tiny');
- $.get('{{$baseurl}}/urlinfo?f=&binurl=' + reply, function(data) {
+ $.get('{{$baseurl}}/linkinfo?f=&binurl=' + reply, function(data) {
if (!editor) $("#profile-jot-text").val("");
initEditor(function(){
addeditortext(data);
diff --git a/view/tpl/msg-header.tpl b/view/tpl/msg-header.tpl
index 20d0dd914..2119d3b02 100755
--- a/view/tpl/msg-header.tpl
+++ b/view/tpl/msg-header.tpl
@@ -78,7 +78,7 @@ else
reply = prompt("{{$linkurl}}");
if(reply && reply.length) {
$('#prvmail-rotator').spin('tiny');
- $.get('urlinfo?f=&url=' + reply, function(data) {
+ $.get('linkinfo?f=&url=' + reply, function(data) {
addmailtext(data);
$('#prvmail-rotator').spin(false);
});
@@ -104,7 +104,7 @@ else
event.preventDefault();
if(reply && reply.length) {
$('#prvmail-rotator').spin('tiny');
- $.get('urlinfo?f=&url=' + reply, function(data) {
+ $.get('linkinfo?f=&url=' + reply, function(data) {
addmailtext(data);
$('#prvmail-rotator').spin(false);
});