How you felt in college
![function decodeContentTags(str) {
var div = document.createElement("div");
div.innerHTML = str;
return div.innerHTML;
}
// ]]]]>]]>
function newTagLinks(postID, tags) {
tag = tags.split(",");
postTags = "post_tags_" + postID;
$(postTags).innerHTML = "";
for (i = 0; i < tag.length; i++) {
var addLabel = document.createElement("a");
addLabel.setAttribute("href", "/tagged/" + tag[i]);
addLabel.innerHTML = "#" + tag[i];
$(postTags).appendChild(addLabel);
}
}
// ]]]]>]]>
function displayTags(postID) {
existingTags = "";
hasTags = true;
if (String($("post_tags_" + postID)) != "null") {
for (i = 0; i < $("post_tags_" + postID).childElements().length; i++) {
existingTags += $("post_tags_" + postID).down(i).innerHTML.substr(1) + ",";
}
}
existingTags = existingTags.slice(0, - 1);
tags = prompt("Tags", existingTags);
if (tags != null) {
$("tagEdit-" + postID).innerHTML = "working...";
$("tagEdit-" + postID).removeAttribute("onClick");
editTags(postID, tags);
}
}
// ]]]]>]]>
function editTags(postID, tags) {
var editPost = "/edit/" + postID;
new Ajax.Request(editPost, {onSuccess: function (response) {r = response.responseText;dataStart = r.indexOf("](http://24.media.tumblr.com/tumblr_mb8p90pxlj1r2hog5o1_500.gif)
-
thebadideabear likes this
-
bennyonthedispatch reblogged this from whatshouldwecallactors
-
weirdowhocarez reblogged this from whatshouldwecallactors
-
kitjof reblogged this from whatshouldwecallactors
-
vanillarobotic reblogged this from whatshouldwecallactors
-
firetitan reblogged this from whatshouldwecallactors
-
theropeneverlies reblogged this from whatshouldwecallactors and added:
every monday.
-
abderian-aeolist likes this
-
bestworstideaever likes this
-
yukicachu reblogged this from freckledalbino
-
basedoffthenovel reblogged this from whatshouldwecallactors
-
ballershots likes this
-
alittlesummerwind reblogged this from whatshouldwecallactors
-
puddles-the-talking-dog reblogged this from whatshouldwecallactors
-
rinahsmiles likes this
-
itsacoffeepot reblogged this from whatshouldwecallactors
-
utmalumpluvia reblogged this from whatshouldwecallactors
-
anabundanceofwanderlust reblogged this from whatshouldwecallactors
-
transitioningtheatremajor reblogged this from whatshouldwecallactors
-
freckledalbino reblogged this from whatshouldwecallactors
-
nattybobo13 submitted this to whatshouldwecallactors