diff options
Diffstat (limited to 'frontend/simple/script/script.js')
-rw-r--r-- | frontend/simple/script/script.js | 41 |
1 files changed, 4 insertions, 37 deletions
diff --git a/frontend/simple/script/script.js b/frontend/simple/script/script.js index ff91482..6bd3757 100644 --- a/frontend/simple/script/script.js +++ b/frontend/simple/script/script.js @@ -1,33 +1,8 @@ -function CookieAlertSubmit (form) {
+function cookie_confirm() {
- $("#kuki").dialog({
- modal: true,
- buttons: {
- "DA, Nadaljuj s prijavo": function() {
- $(this).dialog( "close" );
- $('#' + form).submit();
- },
- "Ne": function() {
- $(this).dialog( "close" );
- }
- }
- });
-}
-
-function CookieAlertFB () {
-
- $("#kuki").dialog({
- modal: true,
- buttons: {
- "DA, Nadaljuj s prijavo": function() {
- $(this).dialog( "close" );
- document.location.href='../api/fb_login.php';
- },
- "Ne": function() {
- $(this).dialog( "close" );
- }
- }
- });
+ $.get('frontend/simple/ajax.php?a=cookie_confirm', function(){
+ $('.cookie_notice').animate({bottom:'-100%'}, {duration: 1000});
+ });
}
function LostPassword(alert_text) {
@@ -49,14 +24,6 @@ function LostPassword(alert_text) { }
}
-// function CheckEmailFP() {
-// var Email = document.getElementById('em');
-// console.log(Email.value);
-// if (Email.search('@') == -1 || Email.indexOf('.') == -1)
-// alert ('Prosimo, popravite email');
-// }
-
-
// Posljemo zahtevo za izbris (iz simple frontenda)
function sendGDPRRequest(){
|