Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function after_load_data_area() {
- $(".drinker").click(function () {
- event.preventDefault();
- $("#edit_window").text("Loading ...");
- $("#edit_window").dialog({
- resizable: false,
- height: 600,
- width: 600,
- modal: true,
- buttons: {
- "Zapisz": function () {
- $(this).dialog("close");
- },
- "Anuluj": function () {
- $(this).dialog("close");
- }
- }
- });
- });
- }
- function reload_data_area() {
- if (data_url.length > 1) {
- $("#right_area").fadeOut(200);
- $("#right_area").load('http://saveoctagon.com/' + data_url + '&ajax=ON', function (response, status, xhr) {
- if (status === "success") {
- $("#right_area").fadeIn(200);
- after_load_data_area();
- }
- if (status === "error") {
- $.notiny({text: 'Błąd połączenia!'});
- }
- });
- document.location.hash = data_url;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment