Plugin Directory

Changeset 3344197


Ignore:
Timestamp:
08/14/2025 02:49:26 AM (8 months ago)
Author:
ganddser
Message:

replace trunk with new structure

Location:
joan/trunk/assets
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • joan/trunk/assets/js/admin.js

    r3343873 r3344197  
    1 
    21jQuery(document).ready(function($) {
     2    // Media upload functionality
    33    $('.joan-media-upload').on('click', function(e) {
    44        e.preventDefault();
     
    1414        }).open();
    1515    });
     16
     17    // Migration confirmation handler
     18    $('#joan-proceed-migration').on('click', function(e) {
     19        if (!confirm('Are you absolutely sure you want to proceed? This will permanently delete your existing schedule data. This action cannot be undone.')) {
     20            e.preventDefault();
     21            return false;
     22        }
     23    });
    1624});
Note: See TracChangeset for help on using the changeset viewer.