fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c506c07
)
Warn before leaving page.
author
Łukasz Rekucki
<lrekucki@gmail.com>
Sun, 14 Mar 2010 21:08:11 +0000
(22:08 +0100)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Sun, 14 Mar 2010 21:08:11 +0000
(22:08 +0100)
platforma/static/js/main.js
patch
|
blob
|
history
diff --git
a/platforma/static/js/main.js
b/platforma/static/js/main.js
index
1509958
..
cdcc21a
100644
(file)
--- a/
platforma/static/js/main.js
+++ b/
platforma/static/js/main.js
@@
-896,6
+896,9
@@
$(function() {
}
$(window).resize();
});
}
$(window).resize();
});
-
+
+ $(window).bind('beforeunload', function(event) {
+ return "Na stronie mogą być niezapisane zmiany.";
+ });
});
});