PHP Classes

File: src/Cabin/Bridge/public/blog_post_delete.js

Recommend this page to a friend!
  Classes of Scott Arciszewski   CMS Airship   src/Cabin/Bridge/public/blog_post_delete.js   Download  
File: src/Cabin/Bridge/public/blog_post_delete.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change:
Date: 8 years ago
Size: 528 bytes
 

Contents

Class file image Download
$(document).ready(function() { $("#blog_post_delete_redirect_box").hide(); $("#create_redirect").on('change', function() { if ($(this).is(':checked')) { $("#blog_post_delete_redirect_box").show(200); $("#redirect_to").prop("required", true); } else { $("#blog_post_delete_redirect_box").hide(200); $("#redirect_to").prop("required", false); } }); $("#cancel_btn").click(function() { window.location=$(this).data('href'); }); });