AAIT#83573 commentaar en feedback verbeterd
svn path=/Website/trunk/; revision=67776
This commit is contained in:
@@ -212,7 +212,7 @@ __Log("== Entering shorturl.asp ==");
|
|||||||
if (bookmark_naam != 'faclikedeeplink' && new Perslid(falluser_key).checkAutorisation("WEB_PRSSYS", true))
|
if (bookmark_naam != 'faclikedeeplink' && new Perslid(falluser_key).checkAutorisation("WEB_PRSSYS", true))
|
||||||
{
|
{
|
||||||
INTERNAL_ERROR_FALLBACK_CANNOT_HAVE_PRSSYS;
|
INTERNAL_ERROR_FALLBACK_CANNOT_HAVE_PRSSYS;
|
||||||
// fac_like_deep.asp staan we wel toe, die heeft een Session.Abandon();
|
// fac_like_deep.asp & fac_like.asp staan we wel toe, die hebben een Session.Abandon();
|
||||||
}
|
}
|
||||||
Session("fallback_user_key") = falluser_key; // wordt opgepikt door loginTry.asp
|
Session("fallback_user_key") = falluser_key; // wordt opgepikt door loginTry.asp
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,10 +51,13 @@ if (Session("login_by_fallback")) {
|
|||||||
}
|
}
|
||||||
<% } %>
|
<% } %>
|
||||||
function fac_submit_callback(json) {
|
function fac_submit_callback(json) {
|
||||||
$("#buttons").remove();
|
|
||||||
$(".card-body").text(json.result);
|
|
||||||
json.close = true;
|
json.close = true;
|
||||||
FcltMgr.closeDetail(window, json);
|
FcltMgr.closeDetail(window, json);
|
||||||
|
// Als we standalone zijn, zijn we nog niet gesloten en passen we de pagina clientside aan om feedback weer te geven
|
||||||
|
$("#buttons").remove();
|
||||||
|
if (json.result) {
|
||||||
|
$(".card-body").text(json.result);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function fac_submit()
|
function fac_submit()
|
||||||
|
|||||||
@@ -28,6 +28,20 @@ var opmerking = getFParam("flike_opmerk", "");
|
|||||||
|
|
||||||
like.save_like(key, node, oordeel_int, opmerking);
|
like.save_like(key, node, oordeel_int, opmerking);
|
||||||
|
|
||||||
result.success = true;
|
var txt = L("lcl_fac_liked_deep");
|
||||||
|
// Als de tekst exact 9 slashes heeft dan is dat de scheider voor 10(!) teksten.
|
||||||
|
// Je mag teksten leeglaten: dan wordt de eerstvolgende hogere gebruikt
|
||||||
|
// Voorbeeld '////4 of lager/Precies 5///8 of lager//Een {0}! Wij zijn blij dat U zo tevreden bent.'
|
||||||
|
var txt_arr = txt.split("/");
|
||||||
|
if (txt_arr.length == 10) {
|
||||||
|
txt = "";
|
||||||
|
for (var i = oordeel_int - 1; !txt && i < txt_arr.length; i++) {
|
||||||
|
txt = txt_arr[i].format(oordeel_int);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
result = {
|
||||||
|
success: true,
|
||||||
|
result: txt
|
||||||
|
}
|
||||||
Response.Write(JSON.stringify(result));
|
Response.Write(JSON.stringify(result));
|
||||||
%><% ASPPAGE_END(); %>
|
%><% ASPPAGE_END(); %>
|
||||||
|
|||||||
Reference in New Issue
Block a user